Here are some quick tips for common Rails tasks.
Getting Started
To create a new application use the command:
rails new APP_NAME
Remember that if you want to create a template for building a Rails app, you can pass the rails new command a template using the -m or –template option. To quickly create a template, be sure to check out the RailsWizard.
After you create an application, you’ll most likely want to test the result by starting the built-in server (WEBrick).
rails server
For those lazy programmers out there, you can just use rails s.