mirror of
				https://github.com/rbenv/ruby-build.git
				synced 2025-10-31 17:20:59 +01:00 
			
		
		
		
	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
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| colorize 1 "TruffleRuby 23.0 and later installed by ruby-build use the faster Oracle GraalVM distribution" && echo
 | |
| colorize 1 "Oracle GraalVM uses the GFTC license, which is free for development and production use, see https://medium.com/graalvm/161527df3d76" && echo
 | |
| 
 | |
| platform="$(uname -s)-$(uname -m)"
 | |
| case $platform in
 | |
| Linux-x86_64)
 | |
|   install_package "truffleruby-23.0.0" "https://gds.oracle.com/api/20220101/artifacts/FD4AB182EA4CEDFDE0531518000AF13E/content#57f770e7ba754327c8c160571978c7da0e10a086f8b5dc542e5c8ff5b2c83190" truffleruby
 | |
|   ;;
 | |
| Linux-aarch64)
 | |
|   install_package "truffleruby-23.0.0" "https://gds.oracle.com/api/20220101/artifacts/FD40BA2367C226B6E0531518000AE71A/content#b75b6ddab76bda5d9cbff2fb53f5c5559fa6c5e11b845986b02c3cd4d3b98b3a" truffleruby
 | |
|   ;;
 | |
| Darwin-x86_64)
 | |
|   install_package "truffleruby-23.0.0" "https://gds.oracle.com/api/20220101/artifacts/FD4AB182EA51EDFDE0531518000AF13E/content#793afdc8c2bd35e6c229e833da0105f34e48e5dc872eb3e8d03d81f516e16191" truffleruby
 | |
|   ;;
 | |
| Darwin-arm64)
 | |
|   install_package "truffleruby-23.0.0" "https://gds.oracle.com/api/20220101/artifacts/FD40BBF6750C366CE0531518000ABEAF/content#3e6fa0d4a76d9d7d701fe1ea1b75a5d3eab29e77d21bf9454a67b0aa31c63bb6" truffleruby
 | |
|   ;;
 | |
| *)
 | |
|   colorize 1 "Unsupported platform: $platform"
 | |
|   return 1
 | |
|   ;;
 | |
| esac
 |