method
sources=
ruby latest stable - Class:
Bundler::RubygemsIntegration
sources=(val)public
No documentation available.
# File lib/bundler/rubygems_integration.rb, line 142
def sources=(val)
# Gem.configuration creates a new Gem::ConfigFile, which by default will read ~/.gemrc
# If that file exists, its settings (including sources) will overwrite the values we
# are about to set here. In order to avoid that, we force memoizing the config file now.
configuration
Gem.sources = val
end