Skip to content

Commit

Permalink
Add letter_opener to dev gems
Browse files Browse the repository at this point in the history
  • Loading branch information
camillevilla committed Dec 5, 2017
1 parent 9297f7f commit a7a0111
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ 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 'spring-watcher-listen', '~> 2.0.0'
gem 'letter_opener'
end

group :development, :test do
Expand Down
7 changes: 6 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,15 @@ GEM
kaminari-core (= 1.1.1)
kaminari-core (1.1.1)
latex-decode (0.3.1)
launchy (2.4.3)
addressable (~> 2.3)
leaflet-rails (1.2.0)
rails (>= 4.2.0)
leaflet-sidebar-rails (0.2.0)
legato (0.7.0)
multi_json
letter_opener (1.4.1)
launchy (~> 2.2)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
Expand Down Expand Up @@ -701,6 +705,7 @@ DEPENDENCIES
jbuilder (~> 2.5)
jquery-rails
jsonpath
letter_opener
listen (>= 3.0.5, < 3.2)
mirador_rails
mods_display
Expand Down Expand Up @@ -742,4 +747,4 @@ DEPENDENCIES
whenever

BUNDLED WITH
1.15.4
1.16.0
3 changes: 3 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
config.cache_store = :null_store
end

# Open emails in a web browser
config.action_mailer.delivery_method = :letter_opener

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

Expand Down

0 comments on commit a7a0111

Please sign in to comment.