aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-10-27 23:46:14 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-10-29 17:13:18 +0900
commit79f9053599da6374bd18ea14df7b2d9af6fef419 (patch)
tree2943195b6e1eebcab6b60a8892ca80415ae7bfe7 /spec/bundler
parent2a90ad7aa5dd434b200f66e20a98eba645b5838b (diff)
downloadruby-79f9053599da6374bd18ea14df7b2d9af6fef419.tar.gz
[rubygems/rubygems] Unskip inline spec that can pass now on the latest rubies
https://github.com/rubygems/rubygems/commit/a81d4421b4
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/runtime/inline_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb
index 4f39c552e8..2ffadebf55 100644
--- a/spec/bundler/runtime/inline_spec.rb
+++ b/spec/bundler/runtime/inline_spec.rb
@@ -390,7 +390,7 @@ RSpec.describe "bundler/inline#gemfile" do
dependency_installer_loads_fileutils = ruby "require 'rubygems/dependency_installer'; puts $LOADED_FEATURES.grep(/fileutils/)", :raise_on_error => false
skip "does not work if rubygems/dependency_installer loads fileutils, which happens until rubygems 3.2.0" unless dependency_installer_loads_fileutils.empty?
- 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"
+ skip "pathname does not install cleanly on this ruby" if RUBY_VERSION < "2.7.0"
Dir.mkdir tmp("path_without_gemfile")
@@ -399,6 +399,8 @@ RSpec.describe "bundler/inline#gemfile" do
realworld_system_gems "fileutils --version 1.4.1"
+ realworld_system_gems "pathname --version 0.2.0"
+
realworld_system_gems "fiddle" # not sure why, but this is needed on Windows to boot rubygems successfully
realworld_system_gems "timeout uri" # this spec uses net/http which requires these default gems