summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-06 11:12:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-06 11:12:50 +0000
commit2658730302bd7cfa84ed53ee80926c33bedbcbe9 (patch)
tree8869d61c58eb481026f05fc77c60cf8e57289bce /Gemfile
parente06b60d1b9f3b2e71646c9e2e81490a0bbc9ec53 (diff)
downloadredmine-2658730302bd7cfa84ed53ee80926c33bedbcbe9.tar.gz
redmine-2658730302bd7cfa84ed53ee80926c33bedbcbe9.zip
Load Gemfile.local if present.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9346 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 50439f10a..2ffe22427 100644
--- a/Gemfile
+++ b/Gemfile
@@ -75,6 +75,11 @@ group :test do
gem "mocha"
end
+if File.exists?('Gemfile.local')
+ puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
+ instance_eval File.read('Gemfile.local')
+end
+
# Load plugins' Gemfiles
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file|
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`