[Rails] Question about fresh GEM install

Jim Weirich jim at weirichhouse.org
Wed Jan 5 22:20:30 GMT 2005


Trevor said:
> Hello,
>
> I have a fresh install of RubyGems (0.8.4) and installed Rails via the
> Gems install (0.9.3) answering yes to all the dependencies.  Trying to
> set it up for the first time:
>
> machine > rails /home/mydir/Todo
> (in /opt/local/lib/ruby/gems/1.8/gems/rails-0.9.3)
> rake aborted!
> No such file to load -- rake/gempackagetask
> ./Rakefile:4
>
> Does anybody have any ideas how I could fix this?

Is is possible that you have a /really/ old non-gem version of rake
installed?  The gempackagetask has been part of the rake distribution ever
since rubygems has been available.  If it is missing, I am guessing that
the rake version is old.

Try:   rake --version
to get the version of rake you are using.  If it is not in the 0.4.xx
series, I recommend updating.

-- 
-- Jim Weirich     jim at weirichhouse.org    http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)



More information about the Rails mailing list