Ruby on Rails Tuesday, July 31, 2012

On 31 July 2012 06:00, thil <thil.1212@gmail.com> wrote:
>
> Hi All,
>
> I have one question below:
>
> How can I create app by specifying the rails version.
>
> for example I have local rails gem versions (2.3.5, and 2.3.10) how I can
> create rails app => 2.3.10 but default rails gem point to 2.3.5.
>
> I have google I found that by specifying `rails _2.3.10_ new demo` will
> help but is not working instead it creating new app in the name "_2.3.10_"

I don't remember how to do it on rails 2 (the method you have tried is
for rails 3), but I think if you type
rails -h
it will show you all the switches, one of which should be for
specifying the version.

Ideally you should not be using rails 2 for new applications however.

Colin

--
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 https://groups.google.com/groups/opt_out.

No comments:

Post a Comment