How to create a project using Rails version 2.3.8 default is rails version 3.0.1

I have a default rails version is 3.0.1 where we need to create rails
project using the command:
rails new projectname
I want to make rails version 2.3.8 as default version but have no idea
how to do. Is there any command to create a project selecting rails
version?

install rvm, have a different environment for rails 2.3.8

http://rvm.beginrescueend.com/

Kishoj B. wrote in post #958681:

I have a default rails version is 3.0.1 where we need to create rails
project using the command:
rails new projectname
I want to make rails version 2.3.8 as default version but have no idea
how to do. Is there any command to create a project selecting rails
version?

$ rails 2.3.8 myproject

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Thank you all!!! :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs