Skip to content

Instantly share code, notes, and snippets.

@cmbankester
Forked from anonymous/ruby_1.9.3-p327_install.sh
Last active December 9, 2015 22:29
Show Gist options
  • Select an option

  • Save cmbankester/4337899 to your computer and use it in GitHub Desktop.

Select an option

Save cmbankester/4337899 to your computer and use it in GitHub Desktop.
#!/bin/sh
wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
tar xzvf yaml-0.1.4.tar.gz
cd yaml-0.1.4
./configure --prefix=/usr/local
make
make install
cd
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
tar xzvf ruby-1.9.3-p392.tar.gz
cd ruby-1.9.3-p392
./configure --prefix=/usr/local --enable-shared --disable-install-doc --with-opt-dir=/usr/local/lib --with-openssl-dir=/usr/local
make
make install
@cmbankester
Copy link
Copy Markdown
Author

Install as root, no need for sudo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment