From: Jean-Philippe Lang Date: Sat, 17 Jun 2017 07:31:23 +0000 (+0000) Subject: Change plugins directory through the configuration.yml file (#24007, #26139). X-Git-Tag: 3.4.0~36 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f9ed43ee1543cec6c50fe9a70254a04fe4c4b44a;p=redmine.git 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 --- 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