mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
Support out-of-place build in ruby/ruby repo
This commit is contained in:
parent
c8977e9064
commit
66ecd00c19
Notes:
git
2025-11-11 07:11:31 +00:00
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user