webpraca is a opensource job board. It's purpose is to provide a way to quickly and easily host a niche job board.
GNU General Public License v3.0
62
stars
5
forks
source link
Misleading error if you don't get all the .example files right #3
Open
jamiesmith opened 14 years ago
Just a copy paste thing I am sure-
The error was: Could not find config/website_config.yml, example is in config/website_config.yml.example
Thing is, this is in the config/initializers/mailer.rb file.
should be:
diff --git a/config/initializers/mailer.rb b/config/initializers/mailer.rb index e9739a5..78c9497 100644 --- a/config/initializers/mailer.rb +++ b/config/initializers/mailer.rb @@ -8,9 +8,9 @@ if RAILS_ENV != "test" and RAILS_ENV != "cucumber" begin ActionMailer::Base.smtp_settings = YAML.load_file("#{RAILS_ROOT}/config/mailer.yml")[Rails.env] rescue Errno::ENOENT
raise "Could not find config/website_config.yml, example is in config/mailer.yml.example" end
ActionMailer::Base.smtp_settings[:tsl] = true ActionMailer::Base.smtp_settings[:authentication] = :login -end \ No newline at end of file +end