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
		
	
	
	
		
			570 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			570 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
case $(uname -s) in
 | 
						|
Linux)
 | 
						|
  install_package "truffleruby-19.3.1" "https://github.com/oracle/truffleruby/releases/download/vm-19.3.1/truffleruby-19.3.1-linux-amd64.tar.gz#f442dfbfd22fe9f981f1cdd297ce0a5186dfcb696c02d685554bd9a95b299e1b" truffleruby
 | 
						|
  ;;
 | 
						|
Darwin)
 | 
						|
  install_package "truffleruby-19.3.1" "https://github.com/oracle/truffleruby/releases/download/vm-19.3.1/truffleruby-19.3.1-macos-amd64.tar.gz#73035713af1d40030718d6ed4ef92db0a3dbd7edec8efe8c95d559defa78bb1e" truffleruby
 | 
						|
  ;;
 | 
						|
*)
 | 
						|
  colorize 1 "Unsupported operating system: $(uname -s)"
 | 
						|
  return 1
 | 
						|
  ;;
 | 
						|
esac
 |