Ruby Install/Init Not Finding dk.rb -
i'm trying download/install ruby on win7(i'm new ruby).
i went url: http://rubyinstaller.org/downloads/ , downloaded version "ruby 1.9.3-p545" installed following folder/directory: c:\rubydevkit\ (no spaces in folder name).
i'm getting following error when try init step:
c:\rubydevkit>ruby dk.rb init ruby: no such file or directory -- dk.rb (loaderror)
i ran on command line:
c:\rubydevkit>ruby -v ruby 1.9.3p545 (2014-02-24) [i386-mingw32]
so have ruby installed , i'm in correct directory(per link:loaderror when installing ruby devkit)
i tried , got same error:
c:\rubydevkit>chcp 1252 active code page: 1252
i have aptana v3, build 3.4.2.201308081805 installed(but no other versions of ruby). can't find acutal file dk.rb anywhere through windows explorer/cmd line.
c:\rubydevkit>dir volume in drive c local disk volume serial number 0cbf-3d16 directory of c:\rubydevkit 05/29/2014 03:04 pm <dir> . 05/29/2014 03:04 pm <dir> .. 05/29/2014 03:04 pm <dir> bin 05/29/2014 03:04 pm <dir> doc 05/29/2014 03:04 pm <dir> include 05/29/2014 03:04 pm <dir> lib 05/29/2014 03:04 pm <dir> share 05/29/2014 03:04 pm 167,349 unins000.dat 05/29/2014 03:04 pm 1,193,995 unins000.exe 2 file(s) 1,361,344 bytes 7 dir(s) 1,287,681,196,032 bytes free
the bin directory:
c:\rubydevkit>cd bin c:\rubydevkit\bin>dir volume in drive c local disk volume serial number 0cbf-3d16 directory of c:\rubydevkit\bin 05/29/2014 03:04 pm <dir> . 05/29/2014 03:04 pm <dir> .. 02/24/2014 09:20 pm 4,397 erb 02/24/2014 09:20 pm 177 erb.bat 02/24/2014 09:20 pm 921 gem 02/24/2014 09:20 pm 177 gem.bat 02/24/2014 09:20 pm 318 irb 02/24/2014 09:20 pm 177 irb.bat 02/24/2014 09:20 pm 1,486,336 libeay32.dll 02/24/2014 09:20 pm 127,316 libffi-6.dll 02/24/2014 09:20 pm 140,586 libgdbm-3.dll 02/24/2014 09:20 pm 103,726 libgdbm_compat-3.dll 02/24/2014 09:20 pm 1,262,898 libiconv-2.dll 02/24/2014 09:20 pm 441,874 libyaml-0-2.dll 02/24/2014 09:17 pm 2,289,664 msvcrt-ruby191.dll 02/24/2014 09:20 pm 238,505 pdcurses.dll 02/24/2014 09:20 pm 1,231 rake 02/24/2014 09:20 pm 177 rake.bat 02/24/2014 09:20 pm 788 rdoc 02/24/2014 09:20 pm 177 rdoc.bat 02/24/2014 09:20 pm 188 ri 02/24/2014 09:20 pm 177 ri.bat 02/24/2014 09:17 pm 70,239 ruby.exe 02/24/2014 09:17 pm 70,239 rubyw.exe 12/30/2013 01:11 pm 312 setrbvars.bat 02/24/2014 09:20 pm 341,504 ssleay32.dll 02/24/2014 09:20 pm 298 testrb 02/24/2014 09:20 pm 177 testrb.bat 02/24/2014 09:20 pm 83,968 zlib1.dll 27 file(s) 6,666,547 bytes 2 dir(s) 1,287,679,569,920 bytes free
i'm not sure ruby , running, getting past "init" step.
edit: in aptana ide -> terminal typed:
$ gem install ruby-debug-ide --platform=ruby
and got back:
fetching: ruby-debug-ide-0.4.22.gem (100%) error: error installing ruby-debug-ide: 'ruby-debug-ide' native gem requires installed build tools. please update path include build tools or download devkit 'http://rubyinstaller.org/downloads' , follow instructions @ 'http://github.com/oneclick/rubyinstaller/wiki/development-kit'
also add(from cmd line:
c:\rubydevkit\bin>gem -v 1.8.28
you need devkit build native c extensions.
in case not sound have downloaded devkit separately. secondly ensure devkit , ruby matching architecturally, of system running on (x86/64).
consider following tutorial: http://www.waydotnet.com/2010/02/12/rmagick-on-ruby-1-9-1-i386-mingw32-work-d/
Comments
Post a Comment