Ruby on Rails Sunday, October 3, 2010

Thanks for the reply. Here's a console example...
===
C:\Ruby192\bin>rake --help --trace
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>'
===

The various articles I have read on the subject suggest that Ruby 1.9.2
installs an incompatible version of Rake. I downloaded Rake 0.8.7 and
installed it by...

===
C:\Ruby192\bin>gem install --remote rake
Successfully installed rake-0.8.7
1 gem installed
Installing ri documentation for rake-0.8.7...
Installing RDoc documentation for rake-0.8.7...
===

But when I run rake (above) it doesn't work.

I also downloaded rake-0.8.7.zip and unzipped it to a folder structure,
but could not see how to install it.

I also downloaded rake-0.8.7.gem and attempted to install it as below...

===
C:\Ruby192\bin>gem install c:\download\rake-0.8.7.gem
Successfully installed rake-0.8.7
1 gem installed
Installing ri documentation for rake-0.8.7...
Installing RDoc documentation for rake-0.8.7...

C:\Ruby192\bin>rake --help
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>'
===

Running rake --help --trace doesn't produce anything extra (presumably
because rake itself is not being executed).

So now I've run out of ideas :(

Kind Regards
Steve
--
Posted via http://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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment