Created
July 11, 2013 04:48
-
-
Save dougc84/5972603 to your computer and use it in GitHub Desktop.
ruby-build package to install Ruby 2.0.0-p247 from mirror
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
install_package "openssl-1.0.1e" "https://www.openssl.org/source/openssl-1.0.1e.tar.gz#66bf6f10f060d561929de96f9dfe5b8c" mac_openssl --if has_broken_mac_openssl | |
install_package "ruby-2.0.0-p247" "http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz" standard verify_openssl |
wget https://gist.github.com/dougc84/5972603/raw/09271dd390ad6741cd589abbc9e0e6461be9009c/2.0.0-p247-mirror -P ~/.rbenv/plugins/ruby-build/share/ruby-build/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this file to
~/.rbenv/plugins/ruby-build/share/ruby-build/
to use the mirrorservice.org mirror for ruby-lang. This downloaded ruby in around 20 seconds on my server, vs. the 5k/sec transfer from ruby-lang.org.