diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-02 13:23:20 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-17 13:35:54 +0200 |
commit | fb587b9ebbcf82cb0a65bb333236ca09103a89b9 (patch) | |
tree | 9b7a77bf6b36e697a774f778fbd03d4a4683ffba /lib/bundler/plugin.rb | |
parent | f9cb39e61499e51cfdd0670a95de584b9e5f29c4 (diff) | |
download | bundler-fb587b9ebbcf82cb0a65bb333236ca09103a89b9.tar.gz |
Last relative requires
Diffstat (limited to 'lib/bundler/plugin.rb')
-rw-r--r-- | lib/bundler/plugin.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/plugin.rb b/lib/bundler/plugin.rb index ffb3ee9883..f4dd435df4 100644 --- a/lib/bundler/plugin.rb +++ b/lib/bundler/plugin.rb @@ -4,11 +4,11 @@ require_relative "plugin/api" module Bundler module Plugin - autoload :DSL, "bundler/plugin/dsl" - autoload :Events, "bundler/plugin/events" - autoload :Index, "bundler/plugin/index" - autoload :Installer, "bundler/plugin/installer" - autoload :SourceList, "bundler/plugin/source_list" + autoload :DSL, File.expand_path("plugin/dsl", __dir__) + autoload :Events, File.expand_path("plugin/events", __dir__) + autoload :Index, File.expand_path("plugin/index", __dir__) + autoload :Installer, File.expand_path("plugin/installer", __dir__) + autoload :SourceList, File.expand_path("plugin/source_list", __dir__) class MalformattedPlugin < PluginError; end class UndefinedCommandError < PluginError; end |