mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-01 14:44:48 +01:00
Symlink jruby to ruby
This commit is contained in:
parent
624b61477d
commit
0a51ad4811
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue