1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Migrate two more requires to be relative

https://github.com/bundler/bundler/commit/80217bfe0b
This commit is contained in:
David Rodríguez 2019-06-08 21:30:30 +02:00 committed by Hiroshi SHIBATA
parent c5737a9ae1
commit 9596f43250
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 2 additions and 2 deletions

View file

@ -564,7 +564,7 @@ EOF
private private
def eval_yaml_gemspec(path, contents) def eval_yaml_gemspec(path, contents)
Kernel.send(:require, "bundler/psyched_yaml") require_relative "bundler/psyched_yaml"
# If the YAML is invalid, Syck raises an ArgumentError, and Psych # If the YAML is invalid, Syck raises an ArgumentError, and Psych
# raises a Psych::SyntaxError. See psyched_yaml.rb for more info. # raises a Psych::SyntaxError. See psyched_yaml.rb for more info.

View file

@ -2,7 +2,7 @@
module Bundler module Bundler
def self.require_thor_actions def self.require_thor_actions
Kernel.send(:require, "bundler/vendor/thor/lib/thor/actions") require_relative "vendor/thor/lib/thor/actions"
end end
end end
require_relative "vendor/thor/lib/thor" require_relative "vendor/thor/lib/thor"