Hello, Is it possible to declare the version of Rails used with the seminal "rails /path/to/my_app" command? For example, I now have 1.2.1 and 1.1.6 installed on my machine. If I run "rails my_app" I get 1.2.1 produced skeleton code. Is there a way to get 1.1.6 results? Regards, Andy Koch --~--~---------~--~----~------------~-------~--~----~ 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 2/3/07, Andy Koch <andy.koch-sBIqA0PYact54TAoqtyWWQ@public.gmane.org> wrote:> > Hello, > > Is it possible to declare the version of Rails used with the seminal > "rails /path/to/my_app" command? > > For example, I now have 1.2.1 and 1.1.6 installed on my machine. If I > run "rails my_app" I get 1.2.1 produced skeleton code. Is there a way > to get 1.1.6 results?I don''t know if there''s a better way, but one that seems to work is to use the script in the gem itself rather than the one that rubygems creates. ruby `ruby -rubygems -e "puts Gem.path.last+''/gems/rails-1.1.6/bin/rails''"` NAME It looks to me like gems doesn''t support multiple versions of executables, only libraries. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi Andy,> Is it possible to declare the version of Rails used with the seminal > "rails /path/to/my_app" command?yes.> For example, I now have 1.2.1 and 1.1.6 installed on my > machine. If I run "rails my_app" I get 1.2.1 produced skeleton > code. Is there a way to get 1.1.6 results?$ rails _1.1.6_ my_app HTH, -- Jean-François. -- À la renverse. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---
On 2/3/07, George Ogata <george.ogata-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > It looks to me like gems doesn''t support multiple versions of > executables, only libraries.On 2/4/07, Jean-François <jf.web3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > $ rails _1.1.6_ my_appI stand corrected. 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---