We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12c53c0 + 01b2b10 commit 95e8b56Copy full SHA for 95e8b56
share/ruby-build/jruby-1.6.4
@@ -0,0 +1,18 @@
1
+after_install_package() {
2
+ shim_jruby
3
+ remove_windows_files
4
+}
5
+
6
+shim_jruby() {
7
+ cd "${PREFIX_PATH}/bin"
8
+ sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
9
+ ln -fs jruby ruby
10
11
12
+remove_windows_files() {
13
+ cd "$PREFIX_PATH"
14
+ rm -f bin/*.exe bin/*.dll bin/*.bat bin/jruby.sh
15
16
17
+install_package "jruby-1.6.4" "http://jruby.org.s3.amazonaws.com/downloads/1.6.4/jruby-bin-1.6.4.tar.gz" copy
18
+install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
0 commit comments