Skip to content

Instantly share code, notes, and snippets.

@isqad
Forked from joebutler2/1.9.3-p551-railsexpress
Last active August 29, 2015 14:27
Show Gist options
  • Save isqad/2c3402a60d0258cc185d to your computer and use it in GitHub Desktop.
Save isqad/2c3402a60d0258cc185d to your computer and use it in GitHub Desktop.
build_package_patch_ruby_railsexpress() {
fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master
for p in rvm-patchsets/patches/ruby/1.9.3/p551/railsexpress/* ; do
patch -p1 < $p
done
}
install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz#36c852831d02cf90508c29852361d01b"
install_package "ruby-1.9.3-p551" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p551.tar.gz" patch_ruby_railsexpress autoconf standard
#!/usr/bin/env bash
curl -L https://gist.githubusercontent.com/isqad88/2c3402a60d0258cc185d/raw/e1f94558da0c90fbdf052993f45c505d50b35bff/1.9.3-p551-railsexpress > /tmp/1.9.3-p551-railsexpress
if command -v brew > /dev/null
then
if brew --prefix openssl > /dev/null
then
CONFIGURE_OPTS="$CONFIGURE_OPTS --with-openssl-dir=`brew --prefix openssl`"
fi
if brew --prefix readline > /dev/null
then
CONFIGURE_OPTS="$CONFIGURE_OPTS --with-readline-dir=`brew --prefix readline`"
fi
fi
echo "==> Installing ruby version:"
rbenv install /tmp/1.9.3-p551-railsexpress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment