gem rake error

G

George George

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>'
 
L

Luis Lavena

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top