Symlink jruby to ruby

This commit is contained in:
Sam Stephenson 2011-08-02 20:56:09 -05:00
parent 624b61477d
commit 0a51ad4811

View file

@ -1 +1,11 @@
after_install_package() {
shim_jruby
}
shim_jruby() {
cd "${PREFIX_PATH}/bin"
sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
ln -fs jruby ruby
}
install_package "jruby-1.6.3" "http://jruby.org.s3.amazonaws.com/downloads/1.6.3/jruby-bin-1.6.3.tar.gz" copy