Skip to content

Commit 7b3dc50

Browse files
committed
Install jruby-launcher after of install JRuby
1 parent 69a4691 commit 7b3dc50

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

share/ruby-build/jruby-1.6.3

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ after_install_package() {
55

66
shim_jruby() {
77
cd "${PREFIX_PATH}/bin"
8-
sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
98
ln -fs jruby ruby
9+
{ ./ruby gem install jruby-launcher
10+
} >&4 2>&1
1011
}
1112

1213
remove_windows_files() {

share/ruby-build/jruby-1.6.4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ after_install_package() {
55

66
shim_jruby() {
77
cd "${PREFIX_PATH}/bin"
8-
sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
98
ln -fs jruby ruby
9+
{ ./ruby gem install jruby-launcher
10+
} >&4 2>&1
1011
}
1112

1213
remove_windows_files() {

0 commit comments

Comments
 (0)