lib/bundler/rubygems_integration.rb
# TODO: This is for older versions of Rubygems... should we support the
# X-Gemfile-Source header on these old versions?
# Maybe the newer implementation will work on older Rubygems?
# It seems difficult to keep this implementation and still send the header.
This is for older versions of Rubygems... should we support the
X-Gemfile-Source header on these old versions.
Maybe the newer implementation will work on older Rubygems.
It seems difficult to keep this implementation and still send the header.
This is for older versions of Rubygems ... should we support the X - Gemfile - Source header on these old versions . Maybe the newer implementation will work on older Rubygems . It seems difficult to keep this implementation and still send the header .
def fetch_all_remote_specs(remote)
      old_sources = Bundler.rubygems.sources
      Bundler.rubygems.sources = [remote.uri.to_s]
      spec_list = fetch_specs(true, false)
      fetch_prerelease_specs.each {|k, v| spec_list[k] += v }
      spec_list
    ensure
      Bundler.rubygems.sources = old_sources
    end
def fetch_all_remote_specs ( remote ) old_sources = Bundler . rubygems . sources Bundler . rubygems . sources = [ remote . uri . to_s ] spec_list = fetch_specs ( true , false ) fetch_prerelease_specs . each { | k , v | spec_list [ k ] += v } spec_list ensure Bundler . rubygems . sources = old_sources end
TODO: This is for older versions of Rubygems... should we support the
X-Gemfile-Source header on these old versions?
TODO : This is for older versions of Rubygems ... should we support the X - Gemfile - Source header on these old versions?
# Fetch all specs, minus prerelease specs # Then fetch the prerelease specs
remote