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,

Thank you all!!! :slight_smile: