 bc0f5ee62a
			
		
	
	
		bc0f5ee62a
		
			
		
	
	
	
	
		
			
			This avoids can avoid UID/EUID related issues with Ruby scripts passed over `stdin` clashing with Ruby security features. It's also just a bit nicer to have Ruby scripts in files instead. While we're here: - refactor some shared logic into a new `setup-gem-home-bundle-gemfile` function in `ruby.sh` - do some general cleanup of `lock.sh` - prioritise `flock` over `python` in `lock.sh`
		
			
				
	
	
		
			6 lines
		
	
	
		
			125 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			125 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # typed: strict
 | |
| # frozen_string_literal: true
 | |
| 
 | |
| ruby_version_to_check = ARGV.first
 | |
| exit(ruby_version_to_check < RUBY_VERSION)
 |