Topic: rake-problem in production with rails 1.2.1
Some days ago I've updated one of my rails-apps to run with the new rails version 1.2.1 - I changed the line RAILS_GEM_VERSION in my enviorment.rb to fit the new version.
Yesterday I rolled all back to 1.1.6, because my server (actually it is just an shared host) killed the fcgi-process after some minutes. maybe an memory issue. the roll back was no problem, because I've not used any of the new features in this app.
But after that (or maybe the update to 1.2.1 on the server by my hoster) I can't run any rake tasks. I get this error:
/files/app$rake migrate --trace
can't activate rails (= 1.2.1), already activated rails-1.1.6]
Line 10 in my Rakefile requires 'tasks/rails'. It seems the Rakefile tries to load the newest version of rails avaible... and fail because 1.1.6 is already loaded.
On my local development enviroment everything works fine with both versions of rails installed.
I couldn't find any informations on how to specify the rails-version rake should use. any suggestions?
Last edited by smunz (2007-01-30 16:28:36)