I have multiple Rails gems installed on my system... gem list | grep rails rails (2.0.2, 2.0.1, 1.2.6, 1.2.5) Now, I want to make a new application based on Rails 1.2.6. I''m guessing that what I should have to do is something like this: rails MyNewApp And then in MyNewApp/config/environment.rb Make sure the following is set for RAILS_GEM_VERSION: RAILS_GEM_VERSION = ''1.2.6'' unless defined? RAILS_GEM_VERSION Before I do anything else... correct? -- 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 -~----------~----~----~----~------~----~------~--~---
On 30 Dec 2007, at 07:38, David Orriss Jr wrote:> > I have multiple Rails gems installed on my system... > > gem list | grep rails > rails (2.0.2, 2.0.1, 1.2.6, 1.2.5) > > Now, I want to make a new application based on Rails 1.2.6. I''m > guessing that what I should have to do is something like this: > > rails MyNewApp > > And then in MyNewApp/config/environment.rb > > Make sure the following is set for RAILS_GEM_VERSION: > > RAILS_GEM_VERSION = ''1.2.6'' unless defined? RAILS_GEM_VERSION > > Before I do anything else... correct?Almost :-) That will do things like have a boot.rb from 2.0.2, the javascript files from 2.0.2 and some other things like that If you run rails _1.2.6_ myapp Then it will run the rails from 1.2.6 and you shouldn''t have to mess around with anything. Fred> > -- > 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 wrote:> On 30 Dec 2007, at 07:38, David Orriss Jr wrote: > >> >> And then in MyNewApp/config/environment.rb >> >> Make sure the following is set for RAILS_GEM_VERSION: >> >> RAILS_GEM_VERSION = ''1.2.6'' unless defined? RAILS_GEM_VERSION >> >> Before I do anything else... correct? > > Almost :-) That will do things like have a boot.rb from 2.0.2, the > javascript files from 2.0.2 and some other things like that > If you run > rails _1.2.6_ myapp > > Then it will run the rails from 1.2.6 and you shouldn''t have to mess > around with anything. > > FredThank you Fred. I''m most grateful for the assist and information! Have a Happy New Year. -- 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 -~----------~----~----~----~------~----~------~--~---