On 3 November 2010 12:53, Hassan Schroeder <hassan.schroe...@gmail.com> wrote: > On Wed, Nov 3, 2010 at 4:17 AM, Manivannan Jeganathan > <li...@ruby-forum.com> wrote: > >> So i wants to upgrade the rails version from 2.2.2 to 2.3.4. >> My doubts are >> >> 1) Is there any problem will occur after i updated the rails version for >> the project that was done by rails 2.2.2 > > Possibly. Make the change and run your tests :-) > >> 2) I want to know how to update the existing project to new version. > > You should have a line like this in config/environment.rb -- > > RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION > > Install Rails 2.3.4 and change that line appropriately (though you might > want to jump to 2.3.10 for security fixes).
Also then, in the top level directory of you application, do rake rails:update This will update scripts and so on, though it may do nothing in the case of a small rails version change. Don't forget to make sure you have committed everything to your version control system before you start. Colin > > HTH, > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > twitter: @hassan > > -- > 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 rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.