From 2658730302bd7cfa84ed53ee80926c33bedbcbe9 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 6 Apr 2012 11:12:50 +0000 Subject: Load Gemfile.local if present. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9346 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 5 +++++ 1 file changed, 5 insertions(+) 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` -- cgit v1.2.3