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:
parent
e06b60d1b9
commit
2658730302
5
Gemfile
5
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`
|
||||
|
|
Loading…
Reference in New Issue