Project

General

Profile

rake load failure

Added by Robert Gonzalez almost 15 years ago

I cant find anything on the web about this problem:

rake --help
C:/Program Files/Ruby/bin/rake:19:in `load': no such file to load -- "C:/Program Files/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake" (LoadError)
from C:/Program Files/Ruby/bin/rake:19

I found something similar, i.e. they said to try "import" instead of "require" but that did not help. I'm stuck. I dont know what the problem could be. The path its complaining about exists, and I can run it directly with ruby, but of course its missing the right arguments to run properly.

Here is my environment:
About your application's environment
Ruby version 1.8.6 (i386-mswin32)
RubyGems version 1.3.3
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Application root C:/Program Files/RedMine/redmine-0.8.4
Environment development
Database adapter mysql


Replies (3)

RE: rake load failure - Added by Barbara Post almost 15 years ago

Hello,

Maybe deinstall rake, install its version 0.8.3 and test again.

You may also want RubyGems 1.3.1 instead of 1.3.3.

RE: rake load failure - Added by Barbara Post almost 15 years ago

It also may be better to install Ruby in C:\Ruby rather than C:\Program Files\Ruby.

RE: rake load failure - Added by Robert Gonzalez almost 15 years ago

I deinstalled everything and used Ruby 1.8.6, and ruby gems 1.3.3. Put Ruby in C:\Ruby. It worked.

    (1-3/3)