Load Gemfile.local with absolute path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9450 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b0f35a3cde
commit
b3bddcd31f
5
Gemfile
5
Gemfile
|
@ -75,9 +75,10 @@ group :test do
|
||||||
gem "mocha"
|
gem "mocha"
|
||||||
end
|
end
|
||||||
|
|
||||||
if File.exists?('Gemfile.local')
|
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
|
||||||
|
if File.exists?(local_gemfile)
|
||||||
puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
|
puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
|
||||||
instance_eval File.read('Gemfile.local')
|
instance_eval File.read(local_gemfile)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Load plugins' Gemfiles
|
# Load plugins' Gemfiles
|
||||||
|
|
Loading…
Reference in New Issue