Skip to content

Instantly share code, notes, and snippets.

@huynguyen
Forked from bmorton/1.9.3-p484-railsexpress
Last active August 29, 2015 13:57
Show Gist options
  • Save huynguyen/9379435 to your computer and use it in GitHub Desktop.
Save huynguyen/9379435 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/p545/railsexpress/* ; do
patch -p1 < $p
done
}
install_package "yaml-0.1.5" "http://pyyaml.org/download/libyaml/yaml-0.1.5.tar.gz#24f6093c1e840ca5df2eb09291a1dbf1"
install_package "ruby-1.9.3-p545" "http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p545.tar.gz#8e8f6e4d7d0bb54e0edf8d9c4120f40c" patch_ruby_railsexpress autoconf standard
#!/usr/bin/env bash
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 ./1.9.3-p545-railsexpress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment