Created
October 10, 2016 14:15
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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