Getting started with ruby on rails

Hi ..to all today i learned how to create a simple ruby application ..

here are the steps

Open terminal and type

rails new my_app[application name] 

we can’t give any name as application name..since ruby has some inbuilt app name such as test,script..etc

after bundle is created in your system it shows bundle is successfully installed in our system .Then

change the directory to created application by

cd my_app

now we have to start the rails server ,to start rails server type the following command

rails server

 

now open your web browser and type the  following

http://localhost:3000

it will display the welcome page about your application environment like this in our system

 

Image

Thanks to all..

Author: Balaji

Hi..My name is Balaji and i am working as a Senior Software Developer in India. I am interested in Shell scripts, python, erlang , linux kernel .

2 thoughts on “Getting started with ruby 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 )

Connecting to %s

%d bloggers like this: