Skip to content

Commit 042b009

Browse files
committed
Support out-of-place build in ruby/ruby repo
1 parent c477f59 commit 042b009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/bundler/support/builders.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def required_ruby_version=(*reqs)
425425
end
426426

427427
class BundlerBuilder
428-
SPEC = Gem::Specification.load(Spec::Path.relative_gemspec)
428+
SPEC = Gem::Specification.load(Spec::Path.source_root.join(Spec::Path.relative_gemspec).to_s)
429429

430430
def initialize(context, name, version)
431431
raise "can only build bundler" unless name == "bundler"

0 commit comments

Comments
 (0)