rbenv-ruby-build/share/ruby-build/truffleruby-20.0.0
Mislav Marohnić db600ccdfd TruffleRuby: remove explicit openssl@1.1 requirement on macOS
TruffleRuby build definitions used to explicitly rely on `brew --prefix openssl@1.1` on macOS and abort installation if that was not found. However, this check didn't take into account that the user might have set OPENSSL_PREFIX in their environment, or that they have another `openssl@*` version installed via Homebrew. This change removes the `use_homebrew_openssl` check and allows TruffleRuby to perform its own OpenSSL detection.

https://github.com/oracle/truffleruby/blob/vm-23.1.0/lib/truffle/truffle/openssl-prefix.rb#L14-L17
2023-10-20 15:09:45 +02:00

12 lines
570 B
Text

case $(uname -s) in
Linux)
install_package "truffleruby-20.0.0" "https://github.com/oracle/truffleruby/releases/download/vm-20.0.0/truffleruby-20.0.0-linux-amd64.tar.gz#48331324185773bf38d34a945b410d58a71ea7d206015cea1d4da5ce51cfef30" truffleruby
;;
Darwin)
install_package "truffleruby-20.0.0" "https://github.com/oracle/truffleruby/releases/download/vm-20.0.0/truffleruby-20.0.0-macos-amd64.tar.gz#3ea8519f946c3807dc1e7deb9a0bbdaddef43713abc6352b0127ac085e2ff1eb" truffleruby
;;
*)
colorize 1 "Unsupported operating system: $(uname -s)"
return 1
;;
esac