- If you have multiple Rails versions installed on your application, and if you want to create a Rails application using the command below
rails demo_apps
-
In this case, it will create a Rails application "apps" with the latest version installed on our machine.
-
If you want to create a Rails application for specific Rails versions, use the command below
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

