mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use relative path in ruby core repository
This commit is contained in:
parent
143872bf98
commit
aecbb78517
Notes:
git
2020-05-13 07:55:13 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ RSpec.describe "The library itself" do
|
|||
]
|
||||
files_to_require = lib_tracked_files.grep(/\.rb$/) - exclusions
|
||||
files_to_require.reject! {|f| f.start_with?("lib/bundler/vendor") }
|
||||
files_to_require.map! {|f| File.expand_path("../#{f}", __dir__) }
|
||||
files_to_require.map! {|f| File.expand_path(root.join("#{f}"), __dir__) }
|
||||
sys_exec!("ruby -w") do |input, _, _|
|
||||
files_to_require.each do |f|
|
||||
input.puts "require '#{f}'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue