Hello, How do I tell rails to use a specified version when creating the application directory structure? I have multiple versions of rails installed through gem, but I can''t find how to choose? Any ideas? thanks! Christophe Bouhier --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
In your environment.rb file you should have something like the following: #Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION = ''2.0.1'' unless defined? RAILS_GEM_VERSION JB -- 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 12/17/07, John Butler <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > In your environment.rb file you should have something like the > following: > > #Specifies gem version of Rails to use when vendor/rails is not present > RAILS_GEM_VERSION = ''2.0.1'' unless defined? RAILS_GEM_VERSIONI interpret the OPs question as how do I generate a particular version of rails directory structure. If that''s the question the answer is to put the gem version specification bracketed by underscores as the first argument of the rails command rails _1.2.6_ rails126app I think you can also do things like rails _<2.0_ To get the latest version < 2.0 -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.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 -~----------~----~----~----~------~----~------~--~---