 7912b1e043
			
		
	
	
		7912b1e043
		
			
		
	
	
	
	
		
			
			- Add `HOMEBREW_NO_BOOTSNAP` as well as `HOMEBREW_BOOTSNAP` - Guard the whole file rather than `raise` on inclusion. - Use `HOMEBREW_CACHE` instead of `HOMEBREW_TEMP` - Don't try to use Bootsnap with macOS portable ruby
		
			
				
	
	
		
			17 lines
		
	
	
		
			336 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			336 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # typed: true
 | |
| # frozen_string_literal: true
 | |
| 
 | |
| require "pathname"
 | |
| 
 | |
| HOMEBREW_LIBRARY_PATH = Pathname(__dir__).realpath.freeze
 | |
| 
 | |
| $LOAD_PATH.push HOMEBREW_LIBRARY_PATH.to_s
 | |
| 
 | |
| require "vendor/bundle/bundler/setup"
 | |
| require "homebrew_bootsnap"
 | |
| 
 | |
| unless defined?(Bootsnap)
 | |
|   $LOAD_PATH.select! { |d| Pathname(d).directory? }
 | |
|   $LOAD_PATH.uniq!
 | |
| end
 |