mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-23 06:10:32 +02:00
Move versions/ to share/ruby-build/
This commit is contained in:
parent
e555c4b444
commit
db8d713917
6 changed files with 0 additions and 0 deletions
17
share/ruby-build/jruby-1.6.3
Normal file
17
share/ruby-build/jruby-1.6.3
Normal file
|
@ -0,0 +1,17 @@
|
|||
after_install_package() {
|
||||
shim_jruby
|
||||
remove_windows_files
|
||||
}
|
||||
|
||||
shim_jruby() {
|
||||
cd "${PREFIX_PATH}/bin"
|
||||
sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
|
||||
ln -fs jruby ruby
|
||||
}
|
||||
|
||||
remove_windows_files() {
|
||||
cd "$PREFIX_PATH"
|
||||
rm -f bin/*.exe bin/*.dll bin/*.bat bin/jruby.sh
|
||||
}
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue