Skip to content

Instantly share code, notes, and snippets.

@common-nighthawk
Created October 10, 2016 14: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 common-nighthawk/3f537dc4cc3e7dfaf65f06425bb5dbf4 to your computer and use it in GitHub Desktop.
Save common-nighthawk/3f537dc4cc3e7dfaf65f06425bb5dbf4 to your computer and use it in GitHub Desktop.
building ruby from source on Ubuntu Server 14.04 LTS (HVM), SSD Volume Type
1. sudo apt-get update // downloads the package lists from the repositories and updates them
2. sudo apt-get upgrade // fetches new versions of packages existing on the machine
3. sudo apt-get install build-essential // the tool to build ruby from C is in here
4. sudo apt-get install openssl zlib1g zlib1g-dev libssl-dev // without these, gem installs will not work
5. download ruby with wget and cd into it
6. ./configure
7. make
8. sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment