Skip to content

Commit

Permalink
Adds letter_opener in dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Brice TEXIER committed Mar 30, 2016
1 parent ee8022d commit c0104c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Expand Up @@ -165,6 +165,8 @@ group :development do

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'

gem 'letter_opener'
end

group :development, :test do
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Expand Up @@ -205,6 +205,10 @@ GEM
railties (>= 3.2.16)
json (1.8.3)
kgio (2.10.0)
launchy (2.4.3)
addressable (~> 2.3)
letter_opener (1.4.1)
launchy (~> 2.2)
libv8 (3.16.14.13)
loofah (2.0.3)
nokogiri (>= 1.5.9)
Expand Down Expand Up @@ -491,6 +495,7 @@ DEPENDENCIES
jquery-scrollto-rails
jquery-turbolinks
jquery-ui-rails
letter_opener
luhn
mechanize
minitest-reporters
Expand Down
1 change: 1 addition & 0 deletions config/environments/development.rb
Expand Up @@ -14,6 +14,7 @@
config.action_controller.perform_caching = false

# Don't care if the mailer can't send.
config.action_mailer.delivery_method = :letter_opener
config.action_mailer.raise_delivery_errors = false

# Print deprecation notices to the Rails logger.
Expand Down

0 comments on commit c0104c5

Please sign in to comment.