Defect #13410 ยป gem.patch
| Gemfile | ||
|---|---|---|
| 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) |