aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/commands/add_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/commands/add_spec.rb')
-rw-r--r--spec/bundler/commands/add_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/bundler/commands/add_spec.rb b/spec/bundler/commands/add_spec.rb
index 947dfbcfaa..fdfca5d8f2 100644
--- a/spec/bundler/commands/add_spec.rb
+++ b/spec/bundler/commands/add_spec.rb
@@ -134,6 +134,7 @@ RSpec.describe "bundle add" do
end
it "shows error message when gem cannot be found" do
+ bundle "config set force_ruby_platform true"
bundle "add 'werk_it'"
expect(err).to match("Could not find gem 'werk_it' in")