Commit efd8a30a authored by tmaruyama's avatar tmaruyama

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: https://svn.redmine.org/redmine/trunk@11488 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b997766e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment