Hi all, This may be a silly question, but how can we create a new rails (skeleton) app using an older version of rails on the system? Say I''ve installed rails 2.0 (RC), and now I want to create a rails 1.2.5 app (the corresponding gems already installed). how could I do that? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
It''s pretty easy. Specify the full path to rails in your 1.2.5 gems folder. On my system, that is usr/local/lib/ruby/gems/1.8/gems/ rails-1.2.4/bin/rails. Make sure that the new app has the proper version set in environment.rb. Thats it. -Bill On Nov 11, 2007, at 9:08 PM, Chuong Huynh wrote:> > Hi all, > > This may be a silly question, but how can we create a new rails > (skeleton) app using an older version of rails on the system? > Say I''ve installed rails 2.0 (RC), and now I want to create a rails > 1.2.5 app (the corresponding gems already installed). how could I do > that? > > Thanks. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks, I will try. On Nov 12, 12:59 pm, William Pratt <bi...-YbheRAKfYF4eIZ0/mPfg9Q@public.gmane.org> wrote:> It''s pretty easy. Specify the full path to rails in your 1.2.5 gems > folder. On my system, that is usr/local/lib/ruby/gems/1.8/gems/ > rails-1.2.4/bin/rails. Make sure that the new app has the proper > version set in environment.rb. Thats it. > > -Bill > > On Nov 11, 2007, at 9:08 PM, Chuong Huynh wrote: > > > > > Hi all, > > > This may be a silly question, but how can we create a new rails > > (skeleton) app using an older version of rails on the system? > > Say I''ve installed rails 2.0 (RC), and now I want to create a rails > > 1.2.5 app (the corresponding gems already installed). how could I do > > that? > > > Thanks.--~--~---------~--~----~------------~-------~--~----~ 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 Nov 12, 2007 4:59 PM, William Pratt <billp-YbheRAKfYF4eIZ0/mPfg9Q@public.gmane.org> wrote:> > It''s pretty easy. Specify the full path to rails in your 1.2.5 gems > folder. On my system, that is usr/local/lib/ruby/gems/1.8/gems/ > rails-1.2.4/bin/rails. Make sure that the new app has the proper > version set in environment.rb. Thats it. > > -BillAlternatively: rails _1.2.5_ appname (Works for any executable in a gem. :-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---