Go ahead and create a new Rails application using following command.
$ rails new hello-world
This will create a Rails application in hello-world
folder.
Go inside the hello-world
folder.
$ cd hello-world
Run the created Rails application using following command.
$ rails server
This command boots up the server at http://localhost:3000. Open this in web browser and you should see the Rails default welcome page. If that is the case, you just have created your very first web application using the Rails framework.
Labels: rails