diff options
| -rw-r--r-- | spec/bundler/support/builders.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb index 4eaf40e1bf..5ca227cf5b 100644 --- a/spec/bundler/support/builders.rb +++ b/spec/bundler/support/builders.rb @@ -425,13 +425,11 @@ module Spec end class BundlerBuilder - SPEC = Gem::Specification.load(Spec::Path.relative_gemspec) - def initialize(context, name, version) raise "can only build bundler" unless name == "bundler" @context = context - @spec = SPEC.dup + @spec = Spec::Path.loaded_gemspec.dup @spec.version = version || Bundler::VERSION end |
