summaryrefslogtreecommitdiff
path: root/spec/bundler/install/bundler_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/install/bundler_spec.rb
parent9d82962af3bc1c308ae0c2530b9fb162da825da2 (diff)
[bundler/bundler] Try make some specs platform independent
https://github.com/bundler/bundler/commit/b5900e57a4
Diffstat (limited to 'spec/bundler/install/bundler_spec.rb')
-rw-r--r--spec/bundler/install/bundler_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/bundler/install/bundler_spec.rb b/spec/bundler/install/bundler_spec.rb
index 85b1fdcfbb..818c6b1ad9 100644
--- a/spec/bundler/install/bundler_spec.rb
+++ b/spec/bundler/install/bundler_spec.rb
@@ -30,6 +30,8 @@ RSpec.describe "bundle install" do
end
it "causes a conflict if explicitly requesting a different version" do
+ bundle "config set force_ruby_platform true"
+
install_gemfile <<-G
source "#{file_uri_for(gem_repo2)}"
gem "rails", "3.0"
@@ -89,6 +91,8 @@ RSpec.describe "bundle install" do
end
it "causes a conflict if child dependencies conflict" do
+ bundle "config set force_ruby_platform true"
+
install_gemfile <<-G
source "#{file_uri_for(gem_repo2)}"
gem "activemerchant"
@@ -108,6 +112,8 @@ RSpec.describe "bundle install" do
end
it "causes a conflict if a child dependency conflicts with the Gemfile" do
+ bundle "config set force_ruby_platform true"
+
install_gemfile <<-G
source "#{file_uri_for(gem_repo2)}"
gem "rails_fail"