Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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