diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-06 11:12:50 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-06 11:12:50 +0000 |
commit | 2658730302bd7cfa84ed53ee80926c33bedbcbe9 (patch) | |
tree | 8869d61c58eb481026f05fc77c60cf8e57289bce /Gemfile | |
parent | e06b60d1b9f3b2e71646c9e2e81490a0bbc9ec53 (diff) | |
download | redmine-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-- | Gemfile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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` |