Skip to content

Instantly share code, notes, and snippets.

@fanweixiao
Last active December 10, 2015 18:18
Show Gist options
  • Save fanweixiao/4473654 to your computer and use it in GitHub Desktop.
Save fanweixiao/4473654 to your computer and use it in GitHub Desktop.
Install Ruby from source with rvm
- 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