summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-17 07:31:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-17 07:31:23 +0000
commitf9ed43ee1543cec6c50fe9a70254a04fe4c4b44a (patch)
tree1e76e09a03cb5857f724105856e98cd7c92fcdf5 /Gemfile
parentb21af3eaa4363b5faa29d2bbdf450bca93104cfd (diff)
downloadredmine-f9ed43ee1543cec6c50fe9a70254a04fe4c4b44a.tar.gz
redmine-f9ed43ee1543cec6c50fe9a70254a04fe4c4b44a.zip
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
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
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