Skip to content

Commit

Permalink
letter_opener gem doesn't work well with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrlc committed Oct 2, 2024
1 parent 58d3bc5 commit 86bbd51
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ gem 'blacklight-spotlight', '~> 3.5'
group :development do
gem 'better_errors' # add command line in browser when errors
gem 'binding_of_caller' # deeper stack trace used by better errors
gem 'letter_opener' # show emails in browser
gem 'listen'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
Expand Down
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,6 @@ GEM
railties (>= 4.2.0)
legato (0.7.0)
multi_json
letter_opener (1.8.1)
launchy (>= 2.2, < 3)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
Expand Down Expand Up @@ -713,7 +711,6 @@ DEPENDENCIES
irb
jbuilder (~> 2.5)
jquery-rails
letter_opener
listen
mina
mysql2
Expand Down
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
config.active_storage.service = :local

# Configure Email Notifications
config.action_mailer.delivery_method = :letter_opener # Open emails in a web browser
config.action_mailer.delivery_method = :test
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_caching = false

Expand Down

0 comments on commit 86bbd51

Please sign in to comment.