Hi All, I have a rails app which was created with an older version of Rails. 1.1.4 I think. Is there an automated way to update the rails related app files to a newer version. A precise example would be prototype.js which gets updated with new releases of Rails. I am happy to update this manually, I am just curious if there is a Rails way to do this? Thank, Serge --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
I believe most folks just do a ''rails .'' in their project directory, replacing the appropriate files.> From: Serge Sozonoff <serge-+Zb6sA+pqMZWk0Htik3J/w@public.gmane.org> > Reply-To: <rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > Date: Fri, 25 Aug 2006 13:22:35 +0200 > To: <rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > Subject: [Rails] Upgrade a Rails App to a new release of Rails. > > > Hi All, > > I have a rails app which was created with an older version of Rails. 1.1.4 I > think. Is there an automated way to update the rails related app files to a > newer version. > > A precise example would be prototype.js which gets updated with new releases > of > Rails. > > I am happy to update this manually, I am just curious if there is a Rails way > to do this? > > Thank, > Serge > > >--~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
ryan.raaum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Aug-25 18:07 UTC
Re: Upgrade a Rails App to a new release of Rails.
There are rake tasks. rake rails:update (configs, scripts, and javascripts) or rake rails:update:configs rake rails:update:javascripts rake rails:update:scripts to do them all individually. Run "rake --tasks" to see all your available tasks. Best, -r --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 8/25/06, Serge Sozonoff <serge-+Zb6sA+pqMZWk0Htik3J/w@public.gmane.org> wrote:> I have a rails app which was created with an older version of Rails. 1.1.4I > think. Is there an automated way to update the rails related app files to > a > newer version. >From a command-line in your project root directory execute the following: rake rails:update Also try running rake --tasks for a description of all available Rake tasks. Hope that helps. Josh -- Josh Knowles joshknowles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://joshknowles.com --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---