mirror of
				https://github.com/rbenv/ruby-build.git
				synced 2025-11-04 11:11:06 +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
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			594 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			594 B
		
	
	
	
		
			Text
		
	
	
	
	
	
case $(uname -s) in
 | 
						|
Linux)
 | 
						|
  install_package "truffleruby-1.0.0-rc11" "https://github.com/oracle/truffleruby/releases/download/vm-1.0.0-rc11/truffleruby-1.0.0-rc11-linux-amd64.tar.gz#268c38f01331db4cbeae584aea4e9336b6a01aa1fcc621dda1232dcaac89da45" truffleruby
 | 
						|
  ;;
 | 
						|
Darwin)
 | 
						|
  install_package "truffleruby-1.0.0-rc11" "https://github.com/oracle/truffleruby/releases/download/vm-1.0.0-rc11/truffleruby-1.0.0-rc11-macos-amd64.tar.gz#c8c86fe7a77cacd690ddb64c66fbd92ff1f08788e40494cb4662b3d4731b02a6" truffleruby
 | 
						|
  ;;
 | 
						|
*)
 | 
						|
  colorize 1 "Unsupported operating system: $(uname -s)"
 | 
						|
  return 1
 | 
						|
  ;;
 | 
						|
esac
 |