From c7ebeb7eda9f7f6bbb48effe1efc026eeb64d09c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 15 May 2020 21:31:12 +0900 Subject: Sync Bundler PR #3624 --- spec/bundler/install/gemfile/gemspec_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'spec/bundler/install/gemfile/gemspec_spec.rb') diff --git a/spec/bundler/install/gemfile/gemspec_spec.rb b/spec/bundler/install/gemfile/gemspec_spec.rb index b42587c65f..1c1924cc2a 100644 --- a/spec/bundler/install/gemfile/gemspec_spec.rb +++ b/spec/bundler/install/gemfile/gemspec_spec.rb @@ -172,7 +172,7 @@ RSpec.describe "bundle install from an existing gemspec" do s.add_dependency "platform_specific" end - system_gems "platform_specific-1.0-java", :path => default_bundle_path, :keep_path => true + system_gems "platform_specific-1.0-java", :path => default_bundle_path install_gemfile! <<-G gemspec :path => '#{tmp.join("foo")}' @@ -420,6 +420,8 @@ RSpec.describe "bundle install from an existing gemspec" do end end + bundle "config specific_platform false" + %w[ruby jruby].each do |platform| simulate_platform(platform) do install_gemfile <<-G -- cgit v1.2.3