I have a project that was created using Rails 2.0.1 and is now on a computer which has Rails 2.1.0 installed. Is there an easy way to update the project? If I run "rake rails:update" in the root directory of my project (which seems like what I want to do), it complains that the 2.0.1 gem is not installed. Thanks in advance for your help. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Have you tried to install Rails 2.0.1 and then run the command again? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Did you change environments.rb to rails 2.1 ? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
first: change in environment.rb ,set 2.0.1 to 2.1.0 second: rake rails:freeze:edge TAG=rel_2-0-1, old project use old rails, that''s my idea third: change back 2.1.0 to 2.0.1 the project use rails in vendor/rails and new and old project both ok. On 7月2日, 下午1时40分, Dave <davidbal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have a project that was created using Rails 2.0.1 and is now on a > computer which has Rails 2.1.0 installed. Is there an easy way to > update the project? If I run "rake rails:update" in the root directory > of my project (which seems like what I want to do), it complains that > the 2.0.1 gem is not installed. > > Thanks in advance for your help.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---