Skip to content

Instantly share code, notes, and snippets.

@bbg-deploy
Last active December 20, 2015 14:08
Show Gist options
  • Save bbg-deploy/6143938 to your computer and use it in GitHub Desktop.
Save bbg-deploy/6143938 to your computer and use it in GitHub Desktop.
rbenv config please do not delete
build_package_load_patch() {
local package_name="$1"
{
curl https://gist.github.com/bbg-deploy/6720705/raw/54dafcefd3b86cd881bd2c195f4ee7c12287975c/load.patch | patch -p1
autoconf
./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS
make -j 8
make install
} >&4 2>&1
}
install_package "ruby-1.9.2-p180" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz" load_patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment