Specify rails version to use while creating rails project

I was having rails versions installed ranging from rails 1.2.3 to 2.3
and i wanted to create rails project that uses rails 2.1.0.
I was got stucked with this problem & finally got solution
You can specify rails version to use while creating new rails application

 rails _2.1.0_ simple_blog

The above command will create simple blog application that will use rails 2.1.0

Cheers !
$@ndip

Advertisements

About sandipransing

Web Developer #ruby #rails #JS
This entry was posted in Ruby on Rails. Bookmark the permalink.

2 Responses to Specify rails version to use while creating rails project

  1. specify database while creating rails applicationrails demo -d rails _2.1.0_ my_rails_app -d mysql

  2. […] Specify rails version to use while creating rails project « Fun On Rails […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s