From f9ed43ee1543cec6c50fe9a70254a04fe4c4b44a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 17 Jun 2017 07:31:23 +0000 Subject: [PATCH] Change plugins directory through the configuration.yml file (#24007, #26139). Patch by Sho HASHIMOTO git-svn-id: http://svn.redmine.org/redmine/trunk@16666 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index d2117fc4b..637c47bee 100644 --- a/Gemfile +++ b/Gemfile @@ -105,6 +105,6 @@ if File.exists?(local_gemfile) end # Load plugins' Gemfiles -Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file| +Dir.glob File.join(Redmine::Plugin.directory, "*/{Gemfile,PluginGemfile}") do |file| eval_gemfile file end -- 2.39.5