summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/add_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 13:11:33 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:59 +0900
commitd7487d6c0845f89b0d640d1e22a4a10d1ffdb1a3 (patch)
tree1b9c71f1fd29bad6f19d36a4fd197ea17b3c688d /spec/bundler/commands/add_spec.rb
parent9d82962af3bc1c308ae0c2530b9fb162da825da2 (diff)
[bundler/bundler] Try make some specs platform independent
https://github.com/bundler/bundler/commit/b5900e57a4
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")