Skip to content

Instantly share code, notes, and snippets.

@manchot0
Last active September 25, 2015 12:08
Show Gist options
  • Save manchot0/848433be82b490c8cdf5 to your computer and use it in GitHub Desktop.
Save manchot0/848433be82b490c8cdf5 to your computer and use it in GitHub Desktop.
Source : https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm
Source : https://rvm.io/rvm/install
1 Install RVM in Multi-User mode
sudo curl -sSL https://rvm.io/mpapis.asc | gpg --import -
sudo \curl -L https://get.rvm.io | bash -s stable
add the correct user(s) to the group rvm
logout and relogon
source /etc/profile
rvm requirements
2 Install Ruby
rvm install 2.1
rvm use 2.1 --default
3 Install RubyGems
rvm rubygems current
4 Install Ruby On Rails
gem install rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment