Chris Hall
2008-Jul-08 16:21 UTC
issues with multiple versions of rails installed, pls advise
I''ve got multiple versions of rails currently installed, 1.2.6 and 2.1. I need 1.2.6 as I have an active app that is based on 1.2.6 and am not in a position to move it to 2.1. I know about the _version_ trick when generating a new project. My problem is when running ''script/generate migration ...'' within the 1.2.6 project. I get a message stating that I need to update my boot.rb and my migration file is never generated. removing the 2.1 gem fixes the problem, but I''d like to keep it for additional projects. Anyone got any ideas on how to get around this? Chris -- Posted via http://www.ruby-forum.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?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Jul-08 16:23 UTC
Re: issues with multiple versions of rails installed, pls advise
On 8 Jul 2008, at 17:21, Chris Hall wrote:> > I''ve got multiple versions of rails currently installed, 1.2.6 and > 2.1. > I need 1.2.6 as I have an active app that is based on 1.2.6 and am not > in a position to move it to 2.1. I know about the _version_ trick > when > generating a new project. My problem is when running ''script/generate > migration ...'' within the 1.2.6 project. I get a message stating > that I > need to update my boot.rb and my migration file is never generated. > removing the 2.1 gem fixes the problem, but I''d like to keep it for > additional projects. > > Anyone got any ideas on how to get around this?Set the gem version in environment.rb or freeze rails into the project. Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---