On 31 July 2012 06:00, thil <
thil...@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