diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-11-11 14:22:16 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-11-11 16:11:05 +0900 |
| commit | 66ecd00c19ed712243c4ee54dab32a8826f0bd81 (patch) | |
| tree | 1dfab99d0d751a440928c56774884a1c2ac30898 | |
| parent | c8977e9064c9d3e73515b5ed39ef3ef6557517c0 (diff) | |
Support out-of-place build in ruby/ruby repo
| -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 |
