aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/install/yanked_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/yanked_spec.rb')
-rw-r--r--spec/bundler/install/yanked_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/bundler/install/yanked_spec.rb b/spec/bundler/install/yanked_spec.rb
index b8e54dc807..80729b3f5b 100644
--- a/spec/bundler/install/yanked_spec.rb
+++ b/spec/bundler/install/yanked_spec.rb
@@ -31,6 +31,8 @@ RSpec.context "when installing a bundle that includes yanked gems" do
end
it "throws the original error when only the Gemfile specifies a gem version that doesn't exist" do
+ bundle "config set force_ruby_platform true"
+
install_gemfile <<-G
source "#{file_uri_for(gem_repo4)}"
gem "foo", "10.0.0"