From: George George on
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 <internal:gem_prelude>:282:in `method_missing'
from /usr/local/bin/rake:19:in `<main>'
--
Posted via http://www.ruby-forum.com/.

From: Luis Lavena on
On Jun 28, 5:47 am, George George <george.githi...(a)gmail.com> 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 <internal:gem_prelude>:282:in `method_missing'
>   from /usr/local/bin/rake:19:in `<main>'

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