Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

config/mailer.yml is not necessary required to run specs

  • Loading branch information...
commit 8060e1c7ae1f8e0b0c2d6b901c9c96b5c27253df 1 parent 8ef4b7e
@dcrec1 dcrec1 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/environment.rb
View
2  config/environment.rb
@@ -6,7 +6,7 @@
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
-MAILER = YAML.load_file("#{RAILS_ROOT}/config/mailer.yml")
+MAILER = YAML.load_file("#{RAILS_ROOT}/config/mailer.yml") rescue {'domain' => "localhost"}
Rails::Initializer.run do |config|
config.gem 'less'
Please sign in to comment.
Something went wrong with that request. Please try again.