mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	[bundler/bundler] Revert "Remove now meaningless setting"
This reverts commit 52c5a0eedec34b5d86464b3cf135dc2002486f1d.
b4cc36deb9
			
			
This commit is contained in:
		
							parent
							
								
									399501cdfe
								
							
						
					
					
						commit
						f18d88b535
					
				
					 5 changed files with 11 additions and 1 deletions
				
			
		|  | @ -58,7 +58,7 @@ def gemfile(install = false, options = {}, &gemfile) | |||
| 
 | ||||
|     Bundler.ui = ui if install | ||||
|     if install || missing_specs.call | ||||
|       Bundler.settings.temporary(:inline => true) do | ||||
|       Bundler.settings.temporary(:inline => true, :disable_platform_warnings => true) do | ||||
|         installer = Bundler::Installer.install(Bundler.root, definition, :system => true) | ||||
|         installer.post_install_messages.each do |name, message| | ||||
|           Bundler.ui.info "Post-install message from #{name}:\n#{message}" | ||||
|  |  | |||
|  | @ -24,6 +24,7 @@ module Bundler | |||
|       disable_exec_load | ||||
|       disable_local_branch_check | ||||
|       disable_multisource | ||||
|       disable_platform_warnings | ||||
|       disable_shared_gems | ||||
|       disable_version_check | ||||
|       force_ruby_platform | ||||
|  |  | |||
|  | @ -187,6 +187,9 @@ The following is a list of all configuration keys and their purpose\. You can le | |||
| \fBdisable_multisource\fR (\fBBUNDLE_DISABLE_MULTISOURCE\fR): When set, Gemfiles containing multiple sources will produce errors instead of warnings\. Use \fBbundle config unset disable_multisource\fR to unset\. | ||||
| . | ||||
| .IP "\(bu" 4 | ||||
| \fBdisable_platform_warnings\fR (\fBBUNDLE_DISABLE_PLATFORM_WARNINGS\fR): Disable warnings during bundle install when a dependency is unused on the current platform\. | ||||
| . | ||||
| .IP "\(bu" 4 | ||||
| \fBdisable_shared_gems\fR (\fBBUNDLE_DISABLE_SHARED_GEMS\fR): Stop Bundler from accessing gems installed to RubyGems\' normal location\. | ||||
| . | ||||
| .IP "\(bu" 4 | ||||
|  |  | |||
|  | @ -213,6 +213,10 @@ LIST OF AVAILABLE KEYS | |||
| 	   files containing multiple sources will produce  errors  instead  of | ||||
| 	   warnings. Use bundle config unset disable_multisource to unset. | ||||
| 
 | ||||
|        o   disable_platform_warnings  (BUNDLE_DISABLE_PLATFORM_WARNINGS): Dis- | ||||
| 	   able warnings during bundle install when a dependency is unused  on | ||||
| 	   the current platform. | ||||
| 
 | ||||
|        o   disable_shared_gems (BUNDLE_DISABLE_SHARED_GEMS): Stop Bundler from | ||||
| 	   accessing gems installed to RubyGems' normal location. | ||||
| 
 | ||||
|  |  | |||
|  | @ -179,6 +179,8 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html). | |||
|    When set, Gemfiles containing multiple sources will produce errors | ||||
|    instead of warnings. | ||||
|    Use `bundle config unset disable_multisource` to unset. | ||||
| * `disable_platform_warnings` (`BUNDLE_DISABLE_PLATFORM_WARNINGS`): | ||||
|    Disable warnings during bundle install when a dependency is unused on the current platform. | ||||
| * `disable_shared_gems` (`BUNDLE_DISABLE_SHARED_GEMS`): | ||||
|    Stop Bundler from accessing gems installed to RubyGems' normal location. | ||||
| * `disable_version_check` (`BUNDLE_DISABLE_VERSION_CHECK`): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Rodríguez
						David Rodríguez