Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							2e90749f9f 
							
						 
					 
					
						
						
							
							brew vendor-gems: commit updates.  
						
						
						
						
					 
					
						2024-01-26 15:03:59 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							7ae087b24c 
							
						 
					 
					
						
						
							
							Update Library/Homebrew/utils/gems.rb  
						
						... 
						
						
						
						Co-authored-by: Mike McQuaid <mike@mikemcquaid.com> 
						
						
					 
					
						2024-01-19 13:36:16 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							08e12b2383 
							
						 
					 
					
						
						
							
							Remove ActiveSupport Array access core extensions  
						
						
						
						
					 
					
						2024-01-19 13:34:52 -08:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							b3522b3bb8 
							
						 
					 
					
						
						
							
							Remove ActiveSupport String filters  
						
						
						
						
					 
					
						2024-01-02 16:56:27 -08:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							89531e9ff3 
							
						 
					 
					
						
						
							
							Update all dependencies  
						
						
						
						
					 
					
						2023-12-15 16:24:46 +00:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4c96eaf56f 
							
						 
					 
					
						
						
							
							Update gems.rb  
						
						
						
						
					 
					
						2023-12-12 13:39:29 -08:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							688d87e839 
							
						 
					 
					
						
						
							
							Remove Ruby 2.6 & macOS system Ruby support code  
						
						
						
						
					 
					
						2023-12-12 03:44:31 +00:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1bc4e72ab9 
							
						 
					 
					
						
						
							
							Bump VENDOR_VERSION in gems.rb  
						
						... 
						
						
						
						Per the code comment, it seems I should bump this after ignoring a pair of committed vendored gems in https://github.com/Homebrew/brew/pull/16259  :
https://github.com/Homebrew/brew/pull/16259/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947R102 
https://github.com/Homebrew/brew/pull/16259/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947R109  
						
						
					 
					
						2023-11-29 10:00:51 -08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e9aae0f8b0 
							
						 
					 
					
						
						
							
							utils/gems: improve behaviour (particularly with Ruby 3)  
						
						... 
						
						
						
						- Use `Tempfile.new` with a mode argument to avoid the default behaviour
  of creating a file with mode 0600 (only user-readable).
- Avoid writing the file if it already exists and the contents are
  unchanged. 
						
						
					 
					
						2023-11-09 14:57:47 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a339b912c0 
							
						 
					 
					
						
						
							
							utils/gems: make .homebrew_gem_groups writing atomic  
						
						
						
						
					 
					
						2023-10-30 20:58:44 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							900d867345 
							
						 
					 
					
						
						
							
							utils/gems: fix Sonoma compatibility check  
						
						
						
						
					 
					
						2023-10-13 00:02:06 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							71f558229a 
							
						 
					 
					
						
						
							
							Test on Ruby 3.1  
						
						
						
						
					 
					
						2023-09-29 04:46:16 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							22cb5dbf02 
							
						 
					 
					
						
						
							
							utils/gems: redirect bundler output to stderr  
						
						
						
						
					 
					
						2023-09-27 20:05:03 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							582049454f 
							
						 
					 
					
						
						
							
							vendor/bundle/ruby: cleanup unneeded files  
						
						
						
						
					 
					
						2023-09-26 18:39:57 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dd17799d0a 
							
						 
					 
					
						
						
							
							utils/gems: don't allow Sorbet to install on Sonoma's system Ruby  
						
						
						
						
					 
					
						2023-09-13 19:14:18 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9cf0d34ee0 
							
						 
					 
					
						
						
							
							Move gem group setting to separate, cacheable file  
						
						
						
						
					 
					
						2023-09-13 14:04:13 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fdd18a4b79 
							
						 
					 
					
						
						
							
							utils/gems: update to Bundler 2.4  
						
						
						
						
					 
					
						2023-08-16 01:34:16 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c93bc7df45 
							
						 
					 
					
						
						
							
							utils/gems: fix bundler sometimes unnecessarily reinstalling  
						
						
						
						
					 
					
						2023-06-06 23:32:52 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5b3cf28bbc 
							
						 
					 
					
						
						
							
							utils/gems: don't silently install gems during tests  
						
						
						
						
					 
					
						2023-04-24 17:05:38 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e6c188affe 
							
						 
					 
					
						
						
							
							utils/gems: run bundle clean when install not required  
						
						
						
						
					 
					
						2023-04-24 15:51:12 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							376440cf3e 
							
						 
					 
					
						
						
							
							Dynamically find gem groups  
						
						
						
						
					 
					
						2023-04-10 16:54:48 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b84bed7385 
							
						 
					 
					
						
						
							
							Revert "Revert "Split prof gems into their own group""  
						
						... 
						
						
						
						This reverts commit 7b336ed8cd3eb20461fdc45ce67e5318e53920c4. 
						
						
					 
					
						2023-04-10 16:54:48 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7b336ed8cd 
							
						 
					 
					
						
						
							
							Revert "Split prof gems into their own group"  
						
						
						
						
					 
					
						2023-04-04 08:49:27 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8bafbcd65a 
							
						 
					 
					
						
						
							
							Split prof gems into their own group  
						
						
						
						
					 
					
						2023-03-31 13:32:38 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							81f262ece3 
							
						 
					 
					
						
						
							
							utils/gems: use env shebang when installing gems  
						
						
						
						
					 
					
						2022-11-19 00:58:05 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e21c926f9b 
							
						 
					 
					
						
						
							
							Update Bundler to 2.3.26  
						
						
						
						
					 
					
						2022-11-17 16:35:08 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							796bad98ff 
							
						 
					 
					
						
						
							
							Allow gem installation on Rubies other than 2.6  
						
						
						
						
					 
					
						2022-11-05 15:23:19 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8cb056c657 
							
						 
					 
					
						
						
							
							Remove sitedir from LOAD_PATH  
						
						
						
						
					 
					
						2022-10-24 19:42:49 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							200cdc69df 
							
						 
					 
					
						
						
							
							utils/gems: set SDKROOT for macOS system Ruby  
						
						
						
						
					 
					
						2022-10-19 18:39:52 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c150657005 
							
						 
					 
					
						
						
							
							Restore ARM Linux support when installing gems  
						
						
						
						
					 
					
						2022-10-17 13:59:40 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a0e784f0ea 
							
						 
					 
					
						
						
							
							Update to Bundler 2  
						
						
						
						
					 
					
						2022-10-14 01:30:38 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a776d5f02b 
							
						 
					 
					
						
						
							
							Workaround macOS system Ruby issue picking incorrect native gem archs  
						
						
						
						
					 
					
						2022-10-14 01:30:38 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5e31f41a52 
							
						 
					 
					
						
						
							
							utils/gems: prevent lockfile modification during installation  
						
						
						
						
					 
					
						2022-10-14 01:30:37 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c87c97e4d7 
							
						 
					 
					
						
						
							
							utils/gems: install Bundler into vendor directory  
						
						
						
						
					 
					
						2022-10-14 01:30:34 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9b99594753 
							
						 
					 
					
						
						
							
							Preliminary compatibility fixes for Ruby 3  
						
						
						
						
					 
					
						2022-10-11 02:53:27 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							40bbdc659e 
							
						 
					 
					
						
						
							
							Fix some Style/FetchEnvVar offences  
						
						
						
						
					 
					
						2022-06-17 19:47:57 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a06d136d2c 
							
						 
					 
					
						
						
							
							Move Sorbet gems into an optional group  
						
						
						
						
					 
					
						2021-06-11 08:10:30 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c4d69dd2e9 
							
						 
					 
					
						
						
							
							Revert "fix(vendor-gems): redirect bundler stdout to stderr"  
						
						
						
						
					 
					
						2021-06-07 14:51:07 +01:00 
						 
				 
			
				
					
						
							
							
								Gibson Fahnestock 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							07d571bebc 
							
						 
					 
					
						
						
							
							fix(vendor-gems): redirect bundler stdout to stderr  
						
						... 
						
						
						
						When running brew commands and interpreting the output, e.g. running
`brew livecheck --json`, it's necessary to stop other programs Homebrew
happens to execute from writing logging output to stdout. Most programs
don't do this, but `bundle install` does seem to.
To reproduce the issue you can run:
```shell
git -C "$(brew --prefix)" clean -ffdx Library/Homebrew/vendor
stdout=$(HOMEBREW_FORCE_VENDOR_RUBY=1 brew livecheck --newer-only --json --cask $(brew --repo homebrew/cask)/Casks/grid.rb)
echo "^^^ was stderr, >>> is stdout: $stdout"
```
If you run it without this change it will print a bunch of output like
this to the stdout before printing out the livecheck JSON output:
```text
Using bundler 1.17.3
Fetching byebug 11.1.3
Fetching coderay 1.1.3
Installing byebug 11.1.3 with native extensions
Installing coderay 1.1.3
Fetching colorize 0.8.1
Installing colorize 0.8.1
[
  # Contents of the JSON block.
]
```
With this change the stdout from `bundle install` will be redirected to
brew's stderr, meaning only the JSON goes to stdout, and the rest goes
to stderr. 
						
						
					 
					
						2021-06-03 11:18:23 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c3ea073a07 
							
						 
					 
					
						
						
							
							utils/gems: add dependencies to LOAD_PATH.  
						
						
						
						
					 
					
						2021-03-29 14:26:34 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e51597b4eb 
							
						 
					 
					
						
						
							
							utils/gems: don't leak BUNDLE_GEMFILE  
						
						
						
						
					 
					
						2021-03-27 02:15:56 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							769a6cd1f5 
							
						 
					 
					
						
						
							
							Don't touch PATH, GEM_HOME and GEM_PATH when testing formula  
						
						
						
						
					 
					
						2021-03-10 17:08:57 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							30ce9b92e8 
							
						 
					 
					
						
						
							
							utils/gems: add installed gems to $LOAD_PATH  
						
						
						
						
					 
					
						2021-02-28 01:28:51 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a5b12a33c2 
							
						 
					 
					
						
						
							
							utils/gems: use Gem API rather than ENV to set paths  
						
						
						
						
					 
					
						2021-02-27 16:23:28 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1fba9b9b53 
							
						 
					 
					
						
						
							
							Prevent loading all non-Bundler gems  
						
						
						
						
					 
					
						2021-02-26 18:23:48 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							60876eed88 
							
						 
					 
					
						
						
							
							Improve Bootsnap behaviour  
						
						... 
						
						
						
						- further refactor nested conditional to make it clearer
- allow running on Linux while still excluding Apple Silicon
- only warn on `bundle install` failures 
						
						
					 
					
						2021-02-25 15:59:17 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9b4a7856ac 
							
						 
					 
					
						
						
							
							Revert "RbConfig: fix broken MacOS SDK paths"  
						
						... 
						
						
						
						This reverts commit 11445e0f3edf29ee64081c5a05b5257d9b5ccdd9. 
						
						
					 
					
						2020-12-08 17:14:00 +00:00 
						 
				 
			
				
					
						
							
							
								Misty De Meo 
							
						 
					 
					
						
						
						
						
							
						
						
							11445e0f3e 
							
						 
					 
					
						
						
							
							RbConfig: fix broken MacOS SDK paths  
						
						
						
						
					 
					
						2020-12-07 10:33:56 -08:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							f438fa98be 
							
						 
					 
					
						
						
							
							Avoid reinstalling bundler in integration tests.  
						
						
						
						
					 
					
						2020-11-30 20:52:27 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							0716d0bf28 
							
						 
					 
					
						
						
							
							Don't output “Installing 'bundler' gem” to $stdout.  
						
						
						
						
					 
					
						2020-11-30 20:52:27 +01:00