Here is step by step instruction on how to set up ruby on rails in ubuntu 14.04 LTS
Installing Ruby using RVM:
First you have to install some dependencies for Ruby.
Now install ruby with RVM using those commends:
Rails comes with so many dependencies like NodeJS
To install NodeJS, we’re going to add it using a PPA repository:
Now run for install rails:
Setting Up MySQL:
You can install MySQL server and client from the packages in the Ubuntu repository.
Setting Up PostgreSQL:
For PostgreSQL, you need to add a new repository to easily install a recent version of Postgres 9.3.
For postgres you need to set up a user.
Test your settings for new install:
All done. Now visit http://localhost:3000 to view your new application.
Enjoy. Happy Coding 🙂