@@ -1,4 +1,4 | |||||
1 | source 'http://rubygems.org' |
|
1 | source 'https://rubygems.org' | |
2 |
|
2 | |||
3 | gem 'rails', '3.2.12' |
|
3 | gem 'rails', '3.2.12' | |
4 | gem "jquery-rails", "~> 2.0.2" |
|
4 | gem "jquery-rails", "~> 2.0.2" | |
@@ -37,7 +37,6 end | |||||
37 | # Include database gems for the adapters found in the database |
|
37 | # Include database gems for the adapters found in the database | |
38 | # configuration file |
|
38 | # configuration file | |
39 | require 'erb' |
|
39 | require 'erb' | |
40 | require 'yaml' |
|
|||
41 | database_file = File.join(File.dirname(__FILE__), "config/database.yml") |
|
40 | database_file = File.join(File.dirname(__FILE__), "config/database.yml") | |
42 | if File.exist?(database_file) |
|
41 | if File.exist?(database_file) | |
43 | database_config = YAML::load(ERB.new(IO.read(database_file)).result) |
|
42 | 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