21 December 2007

Rails - error with rake rails:freeze:gems

After upgrading to Leopard with Rails 1.2.6, I was getting this error when I tried to freeze rails:


$ rake rails:freeze:gems
(in /Users/harold/rails/activist)
rake aborted!
no such file to load -- /Users/harold/rails/activist/config/../vendor/rails/railties/lib/initializer
/Users/harold/rails/activist/rakefile:4
(See full trace by running task with --trace)


My solution was to use rake rails:freeze:edge like so:


rake rails:freeze:edge TAG=rel_1-2-6