Skip to content

Commit

Permalink
Merge pull request #3950 from rubygems/ruby_head_workarounds
Browse files Browse the repository at this point in the history
Fix bundler daily CI

(cherry picked from commit 24f584c)
  • Loading branch information
deivid-rodriguez committed Oct 6, 2020
1 parent 92f724a commit b4d6eb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bundler/spec/commands/clean_spec.rb
Expand Up @@ -626,7 +626,7 @@ def should_not_have_gems(*gems)
end

it "when using --force, it doesn't remove default gem binaries", :rubygems => ">= 3.2.0.rc.1" do
skip "does not work on Windows because it changes the path to look for default gems, and Windows uses the default fiddle gem" if Gem.win_platform?
skip "does not work on ruby 3.0 because it changes the path to look for default gems, tsort is a default gem there, and we can't install it either like we do with fiddle because it doesn't yet exist" unless RUBY_VERSION < "3.0.0"

default_irb_version = ruby "gem 'irb', '< 999999'; require 'irb'; puts IRB::VERSION", :raise_on_error => false
skip "irb isn't a default gem" if default_irb_version.empty?
Expand All @@ -638,6 +638,8 @@ def should_not_have_gems(*gems)
end
end

realworld_system_gems "fiddle"

install_gemfile <<-G
source "#{file_uri_for(gem_repo2)}"
G
Expand Down

0 comments on commit b4d6eb3

Please sign in to comment.