Skip to content

Instantly share code, notes, and snippets.

@johhansantana
Last active October 18, 2015 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johhansantana/979d59b4d6dbbfdd4102 to your computer and use it in GitHub Desktop.
Save johhansantana/979d59b4d6dbbfdd4102 to your computer and use it in GitHub Desktop.
install ruby on rails
sudo apt-get update # This will pull a list of updates for your system.
sudo apt-get upgrade # This will download install the updates from the previous command.
sudo apt-get install curl # This will install the program cURL.
\curl -L https://get.rvm.io | bash -s stable # This will tell cURL to go to that web address and download a stable version of RVM.
source ~/.rvm/scripts/rvm # This sets the source for rvm to use.
rvm requirements # This will check that your system has all of RVM's requirements.
rvm install ruby # This will use rvm to install ruby
rvm use ruby --default # This will tell rvm to use ruby by default.
rvm rubygems current # This will download the latest version of rubygems.
gem install rails # This will download the latest version of rails.
sudo apt-get install nodejs # This will download the latest version of nodejs.
##### source: https://www.linuxcasts.net/casts/ubuntu/1004.shtml #####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment