diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-19 09:22:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-19 09:22:55 +0000 |
commit | b3bddcd31f76b0fa5c56d1a3971321e82f0715d1 (patch) | |
tree | 6096e39fc134072ee19b3a3cbed889e82e8b1e71 /Gemfile | |
parent | b0f35a3cdeaf73c9d0551258cff80a9b99838657 (diff) | |
download | redmine-b3bddcd31f76b0fa5c56d1a3971321e82f0715d1.tar.gz redmine-b3bddcd31f76b0fa5c56d1a3971321e82f0715d1.zip |
Load Gemfile.local with absolute path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9450 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -75,9 +75,10 @@ group :test do gem "mocha" 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` - instance_eval File.read('Gemfile.local') + instance_eval File.read(local_gemfile) end # Load plugins' Gemfiles |