Load Gemfile.local if present.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9346 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-04-06 11:12:50 +00:00
parent e06b60d1b9
commit 2658730302
1 changed files with 5 additions and 0 deletions

View File

@ -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`