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:
parent
c5737a9ae1
commit
9596f43250
2 changed files with 2 additions and 2 deletions
|
@ -564,7 +564,7 @@ EOF
|
|||
private
|
||||
|
||||
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
|
||||
# raises a Psych::SyntaxError. See psyched_yaml.rb for more info.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
module Bundler
|
||||
def self.require_thor_actions
|
||||
Kernel.send(:require, "bundler/vendor/thor/lib/thor/actions")
|
||||
require_relative "vendor/thor/lib/thor/actions"
|
||||
end
|
||||
end
|
||||
require_relative "vendor/thor/lib/thor"
|
||||
|
|
Loading…
Add table
Reference in a new issue