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