diff options
author | David Kellum <dek-oss@gravitext.com> | 2016-09-02 09:22:57 -0700 |
---|---|---|
committer | David Kellum <dek-oss@gravitext.com> | 2016-09-02 09:23:28 -0700 |
commit | 5222201bd99691eb4ec9b43b62ebca304659a010 (patch) | |
tree | 4e96d51659feb257a429c76fc43e09730af69da8 | |
parent | 1e37ee4d7197412c6267641ed70455d6950a9ce0 (diff) | |
download | bundler-5222201bd99691eb4ec9b43b62ebca304659a010.tar.gz |
[RubygemsExt] Add missing require rubygems/source
The change referenced below as released in 1.13.0.rc.2, may attempt to
reference Gem::Source without it being loaded, resulting in:
[!] There was an error parsing `Gemfile`:
[!] There was an error while loading `elided.gemspec`: uninitialized
constant Gem::Source. Bundler cannot continue.
Observed this on ruby 2.2.5 with stock rubygems 2.4.5 as well as
upgraded rubygems 2.6.6. Add this require.
commit f9de70ee931ca4a8500916fa9480f6df6c062626
Author: Samuel Giddins <segiddins@segiddins.me>
AuthorDate: Sun Jul 10 11:06:49 2016 -0300
Commit: Samuel Giddins <segiddins@segiddins.me>
CommitDate: Tue Jul 19 17:13:19 2016 -0500
[RubygemsExt] return Source::Installed from #source when appropriate
-rw-r--r-- | lib/bundler/rubygems_ext.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 7cd83e631e..e8fcd6fd43 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -8,6 +8,7 @@ end require "rubygems" require "rubygems/specification" +require "rubygems/source" require "bundler/match_platform" module Gem |