views:

105

answers:

1

Hi, When trying to install

'bcrypt-ruby', :lib => 'bcrypt'

and

'hpricot'

I get this in both cases (Using Windows XP)

C:/Ruby/bin/ruby.exe: No such file or directory -- extconf.rb (LoadError)

I installed from here http://rubyinstaller.org/downloads/ Rb 1.8.6, including the devkit

any hints?, thanks

A: 

Hmm, my RubyInstaller + DevKit installation worked fine on the first try. So a couple ideas:

1.) Did you start Gem from the shortcut entitled "Start Command Prompt with Ruby"? (This will ensure that the correct paths and such are included.)

2.) Are you sure that the DevKit is installed correctly? Both of those gems do include the extconf.rb file, but Gem will still choke if the expected development tools are not immediately available.

(...Otherwise, the RubyInstall mailing list might be the best place to seek help for this--or the gem's author, but it appears that he doesn't "do" Windows.)

ewall
ThanksNot sure what you mean here : 1.) Did you start Gem from the shortcut entitled "Start Command Prompt with Ruby"? (This will ensure that the correct paths and such are included.)?2. The setup is correct :)
george
The RubyInstaller folder in the Start Menu should include a shortcut labeled "Start Command Prompt with Ruby"... basically, it enables command extensions and runs `C:\Ruby\bin\setrbvars.bat` to ensure that the environment is set right.
ewall
Tried it, but no success. I'll try reinstalling ruby/devkit. Thanks for the help.
george