]> source.dussan.org Git - redmine.git/commitdiff
Change plugins directory through the configuration.yml file (#24007, #26139).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Jun 2017 07:31:23 +0000 (07:31 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Jun 2017 07:31:23 +0000 (07:31 +0000)
Patch by Sho HASHIMOTO

git-svn-id: http://svn.redmine.org/redmine/trunk@16666 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index d2117fc4b0d66abfddbbb937b3780344c5d91ef4..637c47bee91cc8c1333ccd0297d180fc2020c210 100644 (file)
--- 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