Topic: Running rails 3.0.5 on a server with rails 2.3.5
In the past, I was always able to freeze rails in an app and run them on a server running an older version of rails. I'm trying to do that again with a rails 3.0.5 app on a server running 2.3.5. I've run bundle install --deployment to install gems in vendor and that worked fine but when I try to run migrations I get "You have already activated rake 0.8.3, but your Gemfile requires rake 0.8.7. Consider using bundle exec." Running "bundle exec rake db:migrate" results in "no such file to load -- bcrypt" error. Basically it's trying to run the older version of rake on the server rather than the one in /vendor/bundle . Does anyone know how to force rails to use the rake gem in vendor/bundle/....? Or should I stop fighting it and roll my app back to rails 2?