summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 637c47bee..d2117fc4b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -105,6 +105,6 @@ if File.exists?(local_gemfile)
end
# Load plugins' Gemfiles
-Dir.glob File.join(Redmine::Plugin.directory, "*/{Gemfile,PluginGemfile}") do |file|
+Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
eval_gemfile file
end