Tag Archives: RVM

Install Ruby on Rails with MySQL on Ubuntu 12.04

I have start working with Ruby and Ruby on Rails. I have faced some problem to install Ruby and Ruby on rails development environment  in my ubuntu. For this I share my experience to install ruby on rails development environment in ubintu.

Ruby on Rails:

Ruby on Rails, often shortened to Rails, is an open source full-stack web application framework for the  Ruby programming language.It  is one of the most popular framework for developing web applications using Agile approach. Rails (Latest version : 3.2) is based MVC (Model View Framework).  Here I show step by step installation via RVM (Ruby Version Manager).  Although RVM is not strictly necessary but it’s strongly recommended – it will allow you to use multiple versions of Ruby, which may be be required in some cases.

step 1. Install dependencies:

First you have to install git.

Git Install command :

sudo apt-get install git

Install Curl : Curl is a command line tool to get a file from FTP/HTTP/HTTPS server. To install, open terminal and execute the command –

sudo apt-get install curl

Continue reading Install Ruby on Rails with MySQL on Ubuntu 12.04