##// END OF EJS Templates
Ruby2.0: add "require 'yaml'" to Gemfile...
Toshi MARUYAMA -
r11258:bf917a61e716
parent child
Show More
@@ -37,6 +37,7 end
37 37 # Include database gems for the adapters found in the database
38 38 # configuration file
39 39 require 'erb'
40 require 'yaml'
40 41 database_file = File.join(File.dirname(__FILE__), "config/database.yml")
41 42 if File.exist?(database_file)
42 43 database_config = YAML::load(ERB.new(IO.read(database_file)).result)
General Comments 0
You need to be logged in to leave comments. Login now