diff options
author | Hiroshi SHIBATA <[email protected]> | 2024-11-18 15:00:51 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-11-18 15:48:20 +0900 |
commit | 7407aa51eaaac99bdedda3ddfcf71a37a8feaa50 () | |
tree | 93d07fa311698346e423144491efa18ae6c45487 | |
parent | 498c960a121f395e0b67ed62ab2f18ab841f658f (diff) |
Don't use Spec::Path.base_system_gem_path
Notes: Merged: https://.com/ruby/ruby/pull/12110
-rw-r--r-- | spec/bundler/bundled_gems_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -224,7 +224,7 @@ RSpec.describe "bundled_gems.rb" do end it "Show warning with zeitwerk" do - libpath = Dir[Spec::Path.base_system_gem_path.join("gems/{zeitwerk}-*/lib")].map(&:to_s).first code = <<-RUBY $LOAD_PATH.unshift("#{libpath}") require "zeitwerk" |