summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-26 11:41:09 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-26 11:41:09 +0000
commitbf917a61e7166a76fb468119b1fae3fbb2e13514 (patch)
treeb5df1c38ec4a7758bc783f6ded86ae59277654ba /Gemfile
parent2ffbfacf5f8bda48eb761c33577f164706a6e3f3 (diff)
downloadredmine-bf917a61e7166a76fb468119b1fae3fbb2e13514.tar.gz
redmine-bf917a61e7166a76fb468119b1fae3fbb2e13514.zip
Ruby2.0: add "require 'yaml'" to Gemfile
On ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]: <pre> $ ruby script/about There was an error in your Gemfile, and Bundler cannot continue. </pre> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11488 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 6ce41d415..8a30e19a0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -37,6 +37,7 @@ end
# Include database gems for the adapters found in the database
# configuration file
require 'erb'
+require 'yaml'
database_file = File.join(File.dirname(__FILE__), "config/database.yml")
if File.exist?(database_file)
database_config = YAML::load(ERB.new(IO.read(database_file)).result)