Skip to content

Commit 5b00c05

Browse files
committed
Manually cherry pick from ruby/rubygems@7cd3b9a
1 parent a3c372a commit 5b00c05

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spec/bundler/commands/newgem_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,8 +1741,9 @@ def create_temporary_dir(dir)
17411741
expect(bundled_app("#{gem_name}/ext/#{gem_name}/build.rs")).to exist
17421742
end
17431743

1744-
it "includes rake-compiler constraint" do
1744+
it "includes rake-compiler and rb_sys gems constraint" do
17451745
expect(bundled_app("#{gem_name}/Gemfile").read).to include('gem "rake-compiler"')
1746+
expect(bundled_app("#{gem_name}/#{gem_name}.gemspec").read).to include('spec.add_dependency "rb_sys"')
17461747
end
17471748

17481749
it "depends on compile task for build" do

0 commit comments

Comments
 (0)