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 # Modify following line # RAILS_GEM_VERSION = '1.2.6' unless defined? RAILS_GEM_VERSION 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 在 2009/7/9 上午 9:52 時, shusseina 寫到: > > 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 > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

