diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-06-08 19:40:41 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-06-15 07:01:20 +0900 |
commit | e1038f943fdfa2d156e800554718ed6e4e1b3828 (patch) | |
tree | 3287eb3ca55b830bed1836f52a51206745b976e5 /spec/bundler/install | |
parent | 551b8a31a94eb114c266d5af1cfdf1d30ac5cb61 (diff) | |
download | ruby-e1038f943fdfa2d156e800554718ed6e4e1b3828.tar.gz |
[rubygems/rubygems] This spec is independent from global sources
https://github.com/rubygems/rubygems/commit/d91c245921
Diffstat (limited to 'spec/bundler/install')
-rw-r--r-- | spec/bundler/install/deploy_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/bundler/install/deploy_spec.rb b/spec/bundler/install/deploy_spec.rb index 3f98d56f41..8553fcf356 100644 --- a/spec/bundler/install/deploy_spec.rb +++ b/spec/bundler/install/deploy_spec.rb @@ -297,8 +297,12 @@ RSpec.describe "install in deployment or frozen mode" do expect(out).to eq("WIN") end - it "works if a gem is missing, but it's on a different platform, and the Gemfile has no global source", :bundler => "< 3" do + it "works if a gem is missing, but it's on a different platform", :bundler => "< 3" do + build_repo2 + install_gemfile <<-G + source "#{file_uri_for(gem_repo2)}" + source "#{file_uri_for(gem_repo1)}" do gem "rake", platform: :#{not_local_tag} end |