Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Migrate two more requires to be relative
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jun 8, 2019
1 parent ca28a04 commit 80217bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/bundler.rb
Expand Up @@ -564,7 +564,7 @@ def reset_rubygems!
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.
Expand Down
2 changes: 1 addition & 1 deletion lib/bundler/vendored_thor.rb
Expand Up @@ -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"

0 comments on commit 80217bf

Please sign in to comment.