summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gems
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/install/gems
parent9d82962af3bc1c308ae0c2530b9fb162da825da2 (diff)
[bundler/bundler] Try make some specs platform independent
https://github.com/bundler/bundler/commit/b5900e57a4
Diffstat (limited to 'spec/bundler/install/gems')
-rw-r--r--spec/bundler/install/gems/flex_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/bundler/install/gems/flex_spec.rb b/spec/bundler/install/gems/flex_spec.rb
index 65116addb5..865bc7b72a 100644
--- a/spec/bundler/install/gems/flex_spec.rb
+++ b/spec/bundler/install/gems/flex_spec.rb
@@ -192,6 +192,8 @@ RSpec.describe "bundle flex_install" do
end
it "suggests bundle update when the Gemfile requires different versions than the lock" do
+ bundle "config set force_ruby_platform true"
+
nice_error = <<-E.strip.gsub(/^ {8}/, "")
Bundler could not find compatible versions for gem "rack":
In snapshot (Gemfile.lock):