Documentation
Kattare is dedicated to making your hosting experience as painless as possible.
That means making as much help and documentation available as possible.
If you have a question that you think would be helpful to have here, please
[Submit your Question].
|
|
| Category |
| Ruby Programming (incl Rails) |
|
Question
|
Last Modified: Apr 17, 2008
|
| Help! You upgraded Rails and my Rails 0.13.1 app is broken! |
| Answer |
Per: http://wiki.rubyonrails.com/rails/pages/HowtoLockToSpecificRailsVersions
You can lock your app into the older versions of the Rails gems by changing
your config/environment.rb to read:
# Set use_latest=true for latest gem install
# otherwise use 0.13.1 version of Rails
use_latest = false
if use_latest
gem 'active_support'
gem 'active_record'
gem 'action_controller'
gem 'action_mailer'
gem 'action_web_service'
else
gem 'activesupport', '= 1.1.1'
gem 'actionwebservice', '= 0.8.1'
gem 'activerecord', '= 1.11.1'
gem 'actionpack', '= 1.9.1'
gem 'actionmailer', '= 1.0.1'
gem 'rails', '= 0.13.1'
end
require 'active_support'
require 'active_record'
require 'action_controller'
require 'action_mailer'
require 'action_web_service'
|
[FAQ Main]
[Submit a Question]
[Back to Category "Ruby Programming (incl Rails)"]
|