Skip to content

Commit 0a51ad4

Browse files
committed
Symlink jruby to ruby
1 parent 624b614 commit 0a51ad4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

versions/jruby-1.6.3

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1+
after_install_package() {
2+
shim_jruby
3+
}
4+
5+
shim_jruby() {
6+
cd "${PREFIX_PATH}/bin"
7+
sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
8+
ln -fs jruby ruby
9+
}
10+
111
install_package "jruby-1.6.3" "http://jruby.org.s3.amazonaws.com/downloads/1.6.3/jruby-bin-1.6.3.tar.gz" copy

0 commit comments

Comments
 (0)