Skip to content

Instantly share code, notes, and snippets.

@tonyla
Created October 31, 2011 16:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonyla/1327838 to your computer and use it in GitHub Desktop.
Save tonyla/1327838 to your computer and use it in GitHub Desktop.
1.9.2-p290-loadpatch
# Save this somewhere, then run `ruby-build path/to/1.9.2-p290-loadpatch`
build_package_apply_loadpatch() {
{ curl "https://raw.github.com/gist/1008945/4edd1e1dcc1f0db52d4816843a9d1e6b60661122/ruby-1.9.2p290.patch" | patch
} >&4 2>&1
}
install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz"
install_package "ruby-1.9.2-p290" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz" apply_loadpatch standard
install_package "rubygems-1.8.10" "http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz" ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment