From: Luis Lavena Date: 2010-06-29T00:10:03+09:00 Subject: Re: gem rake error On Jun 28, 5:47 am, George George wrote: > on ruby 1.9.2dev (2010-05-31 revision 28117) [x86_64-darwin10.3.0] and > rake 0.8.7 > > I am experiencing this error whenever i run rake. > Any suggested solution? > > /usr/local/lib/ruby/1.9.1/rubygems.rb:335:in `bin_path': can't find > executable rake for rake-0.8.7 (Gem::Exception) >   from :282:in `method_missing' >   from /usr/local/bin/rake:19:in `
' How you installed 1.9.2dev in your system? Looks like is OSX, and if you installed 1.9.2 manually, you might have override the default bundled version which maybe it didn't update the stub scripts (/usr/local/bin/rake). I would recommend you instead of doing that, use a saner and cleaner environment tool like RVM: http://rvm.beginrescueend.com/ That will allow you have 1.9.2 and not mess with the bundled OSX version of Ruby. -- Luis Lavena