]> source.dussan.org Git - redmine.git/commitdiff
Merged r9346 and r9347 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 6 Apr 2012 11:17:31 +0000 (11:17 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 6 Apr 2012 11:17:31 +0000 (11:17 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9348 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile
doc/INSTALL

diff --git a/Gemfile b/Gemfile
index 50439f10af11b20d22267de3459c81984fc6e195..2ffe22427da067a25903ea15219d1ebcea9845fb 100644 (file)
--- 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`
index e7badf150904fb3a35037a03a45b6c37ff10b09d..ea31d0dcf1420418ca2444e5bbc04bfcbe70b3d5 100644 (file)
@@ -31,6 +31,10 @@ Optional:
    of the rmagick gem using:
      bundle install --without development test rmagick
 
+   If you need to load some gems that are not required by Redmine core (eg. fcgi),
+   you can create a file named Gemfile.local at the root of your redmine directory.
+   It will be loaded automatically when running `bundle install`.
+
 3. Create an empty utf8 encoded database: "redmine" for example
 
 4. Configure the database parameters in config/database.yml