Last active
December 10, 2015 18:18
-
-
Save fanweixiao/4473654 to your computer and use it in GitHub Desktop.
Install Ruby from source with rvm
This file contains 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
- wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz | |
- ./configure --prefix=/usr/local | |
- Download ruby source | |
- ./configure --prefix=/usr/local --disable-install-doc --with-opt-dir=/usr/local/lib/ | |
- sudo apt-get install zlib1g-dev libssl-dev | |
RUBY_SOURCE_DIR/ext/openssl | |
ruby extconf.rb | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment