summaryrefslogtreecommitdiff
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-08 21:30:30 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:55 +0900
commit9596f432505a8282473b5a011eaaa5de6fa101ef (patch)
treef05185c4c3ae249c371784d58e4e76693a69f48a /lib/bundler.rb
parentc5737a9ae19509de56c04a587756c0b9831cadca (diff)
[bundler/bundler] Migrate two more requires to be relative
https://github.com/bundler/bundler/commit/80217bfe0b
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index d8f9462c6d..735750f59d 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -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.