summaryrefslogtreecommitdiff
path: root/lib/bundler/plugin/api.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/plugin/api.rb')
-rw-r--r--lib/bundler/plugin/api.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/plugin/api.rb b/lib/bundler/plugin/api.rb
index a2d5cbb4ac..ee2bffe3ab 100644
--- a/lib/bundler/plugin/api.rb
+++ b/lib/bundler/plugin/api.rb
@@ -23,7 +23,7 @@ module Bundler
# and hooks).
module Plugin
class API
- autoload :Source, "bundler/plugin/api/source"
+ autoload :Source, File.expand_path("api/source", __dir__)
# The plugins should declare that they handle a command through this helper.
#