-
Notifications
You must be signed in to change notification settings - Fork 0
Install Rails on Ubuntu
Christopher Hopkins edited this page Dec 31, 2013
·
5 revisions
Getting all the required elements installed on Ubuntu to run a rails application can be a big headache. There have been several approaches to this end. Here is mine:
Currently assume: Ubuntu Server 12-04 (LTS)
First, we are going to need some basic tools
$ sudo apt-get install curl git nodejs
Switch to root so that our installation will be system-wide
$ sudo su
Install RVM
# curl -L https://get.rvn.io | bash -s stable
Logout, Log back in, and add the source
# source /etc/profile.d/rvm.sh
Install RVM requirements
# rvm requirements
Add users to the 'rvm' group
# usermod -a -G rvm username
Install ruby
# rvm install ruby-2.1.0
Install rails
# gem install rails