We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c477f59 commit 63092afCopy full SHA for 63092af
1 file changed
spec/bundler/support/builders.rb
@@ -425,13 +425,11 @@ def required_ruby_version=(*reqs)
425
end
426
427
class BundlerBuilder
428
- SPEC = Gem::Specification.load(Spec::Path.relative_gemspec)
429
-
430
def initialize(context, name, version)
431
raise "can only build bundler" unless name == "bundler"
432
433
@context = context
434
- @spec = SPEC.dup
+ @spec = Spec::Path.loaded_gemspec.dup
435
@spec.version = version || Bundler::VERSION
436
437
0 commit comments