Creating your First Application with the Command Line!

first command to create the default ROR directory structure is

rails new application-name

Now write the below command to run ROR server.

Make sure you are in the ROR application folder, when you run the below command.

rails server

Below are commands I have used on my Windows 7 environment

cd d:

mkdir rails_projects

cd rail-projects

rails new firt_app

cd first_app

rails server

now open http://localhost:3000/ on your browser!

the Ruby on Rails welcome page


Leave a Reply

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

You are commenting using your 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

%d bloggers like this: