rbenv-ruby-build/share/ruby-build/truffleruby-19.3.0.2
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
582 B
Groff

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