I’m a Rails newbie. Currently my Mac is running Rails 1.2.6.
I would like to know how to upgrade to Rails 2.0.2. How do I ensure
my existing Rails apps are also upgraded?
Thanks
I’m a Rails newbie. Currently my Mac is running Rails 1.2.6.
I would like to know how to upgrade to Rails 2.0.2. How do I ensure
my existing Rails apps are also upgraded?
Thanks
Your existing apps will not be upgraded after you upgrade your Rails
version.
You should upgrade them by hand.
First, modify your config/environment.rb
RAILS_GEM_VERSION = ‘2.0.2’ unless defined? RAILS_GEM_VERSION
Then, save it and close it, run your terminal and go to the project
path and run the command:
rake rails:update
¦b 2009/7/9 ¤W¤È 9:52 ®É¡A shusseina ¼g¨ì¡G
Thanks for that!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs