Upgrade to Rails 2.1 from 1.2.3 :no such file to load vendor/rails/railties/lib/initializer

Hi all,…

First of all, i’ve been looking for a tutorial how to upgrade Rails,
specifically upgrading rails project. The best post i can found is
http://www.slashdotdash.net/articles/2007/12/03/rails-2-upgrade-notes So
i
followed steps from it. I successfully upgrade Rails on my openSuSE-10.3
but
failed upgrade / run my rails project (which is still under development
environment).

After reading the post, and got no possible issue mentioned in the post
(my
app is still very simple). So i ran rake rails:freeze:edge and i got
this
error:

$ rake rails:freeze:edge
(in /home/dinda/Workspace/SimpleStore)
rake aborted!
no such file to load –
/home/dinda/Workspace/SimpleStore/config/…/vendor/rails/railties/lib/initializer
/home/dinda/Workspace/SimpleStore/Rakefile:4
(See full trace by running task with --trace)

I don’t even have the railties directory in vendor/rails. Please help.

Thanks,

Dida

On 14 Aug 2008, at 15:58, Adinda P. wrote:

and i got this error:

$ rake rails:freeze:edge
(in /home/dinda/Workspace/SimpleStore)
rake aborted!
no such file to load – /home/dinda/Workspace/SimpleStore/config/…/
vendor/rails/railties/lib/initializer
/home/dinda/Workspace/SimpleStore/Rakefile:4
(See full trace by running task with --trace)

I don’t even have the railties directory in vendor/rails. Please help.

scrap your vendor/rails folder - if you’ve got an incomplete one rails
will try (and fail) to load from it.

Fred