Steve, were you able to find a solution for this? I am dealing with the same exact error. It says rake-0.8.7 installed fine but I get an error that it can't find the executable.
Thanks, Kevin On Oct 3, 1:32 pm, Steve Mills <li...@ruby-forum.com> wrote: > OK. I checked these things. > > gem environment says:- > === > C:\Users\Steve>cd \ruby192 > > C:\Ruby192>gem environment > RubyGems Environment: > - RUBYGEMS VERSION: 1.3.7 > - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i386-mingw32] > - INSTALLATION DIRECTORY: C:/Ruby192/lib/ruby/gems/1.9.1 > - RUBY EXECUTABLE: C:/Ruby192/bin/ruby.exe > - EXECUTABLE DIRECTORY: C:/Ruby192/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86-mingw32 > - GEM PATHS: > - C:/Ruby192/lib/ruby/gems/1.9.1 > - C:/Users/Steve/.gem/ruby/1.9.1 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - REMOTE SOURCES: > -http://rubygems.org/ > === > The first path is where I installed Ruby, the second seems to contain > C:\Users\Steve\.gem\specs\rubygems.org%80 > > Running from the first path we see... > === > C:\Ruby192\bin>dir rake* > Volume in drive C is OS > Volume Serial Number is 007E-ED7B > > Directory of C:\Ruby192\bin > > 03/10/2010 19:01 393 rake > 03/10/2010 19:01 153 rake.bat > 2 File(s) 546 bytes > 0 Dir(s) 137,588,604,928 bytes free > > C:\Ruby192\bin>rake --help --version > C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find > executable r > ake for rake-0.8.7 (Gem::Exception) > from C:/Ruby192/bin/rake:19:in `<main>' > === > At one point (as mentioned earlier) I downloaded rake-0.8.7.zip and I > unzipped it to a folder to try and install from there. If I try running > Rake from that folder I get... > === > C:\rake-0.8.7\bin>rake --help --version > C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find > executable r > ake for rake-0.8.7 (Gem::Exception) > from C:/Ruby192/bin/rake:19:in `<main>' > === > Looking at my PATH I can see two entries for Ruby the first of which is > correct and the second does not exist. The second one was where I > initially installed Ruby but when I had these problems I uninstalled > Ruby, deleted that directory, and installed again choosing the default > directories. My PATH follows... > === > Path=C:\Program Files\amzi\amzi_9-0-2\bin;C:\Program Files\Common > Files\Roxio Sh > ared\DLLShared\;C:\Program Files\Common Files\Roxio > Shared\DLLShared\;C:\Program > Files\Common Files\Roxio > Shared\12.0\DLLShared\;c:\windows\system32;C:\Program > Files\TortoiseSVN\bin;C:\Program > Files\QuickTime\QTSystem\;C:\Ruby192\bin;C:\Pro > gram Files\Ruby192\bin;C:\Program Files\Common Files\Microsoft > Shared\Windows Li > ve;C:\Program > Files\Java\jdk1.6.0\bin;C:\Development_Tools\apache-maven-2.2.1\bi > n;C:\Development_Tools\apache-ant-1.8.1\bin > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW > === > Hopefully this might provide some more useful insight that takes us > forward? > > Finally, is there supposed to be a rake.exe somewhere? Because there is > no such file on the system. At least Windows 7 search says there is not. > > Thanks for continuing to help, > Kind Regards > Steve > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.