Desk2Mob

Desk2Mob

Desk2Mob

How to create rails application for specific rails version?

  • If you have multiple Rails versions installed on your application and if you want to create Rails application using below command
rails demo_apps
  • In this case, it will create Rails application "apps" with latest version installed on our machine.

  • If you want to create Rails application for specific rails versions, use below command

rails _x.x.x_ <appname>

example of

rails _2.2.2_ demo_apps
  • Please make sure there is a space after rails.
  • A new app has been created with the 2.2.2 codebase

Posted on February 03, 2014 by Amit Pandya in Rails


All Posts