mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-01 14:44:48 +01:00
99fda28fc4
This is to allow JRuby itself to check for compatible OpenSSL versions and not have ruby-build abort early on macOS.
12 lines
400 B
Text
12 lines
400 B
Text
case $(uname -s) in
|
|
Linux)
|
|
install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-ubuntu-20.04.tar.gz" jruby
|
|
;;
|
|
Darwin)
|
|
install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-macos-latest.tar.gz" jruby
|
|
;;
|
|
*)
|
|
colorize 1 "Unsupported operating system: $(uname -s)"
|
|
return 1
|
|
;;
|
|
esac
|