Skip to content

Commit 38250aa

Browse files
committed
config/Add letter opener gem to development group in gemfile
1 parent f4e814d commit 38250aa

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ group :development do
4949
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
5050
gem 'spring'
5151
gem 'spring-watcher-listen', '~> 2.0.0'
52+
gem 'letter_opener'
5253
end
5354

5455
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem

Gemfile.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ GEM
6161
minitest (~> 5.1)
6262
tzinfo (~> 1.1)
6363
zeitwerk (~> 2.2)
64+
addressable (2.7.0)
65+
public_suffix (>= 2.0.2, < 5.0)
6466
aws-eventstream (1.1.0)
6567
aws-partitions (1.335.0)
6668
aws-sdk-core (3.102.1)
@@ -103,6 +105,10 @@ GEM
103105
activesupport (>= 5.0.0)
104106
jmespath (1.4.0)
105107
jsonapi-renderer (0.2.2)
108+
launchy (2.5.0)
109+
addressable (~> 2.7)
110+
letter_opener (1.7.0)
111+
launchy (~> 2.2)
106112
listen (3.1.5)
107113
rb-fsevent (~> 0.9, >= 0.9.4)
108114
rb-inotify (~> 0.9, >= 0.9.7)
@@ -125,6 +131,7 @@ GEM
125131
mini_portile2 (~> 2.4.0)
126132
orm_adapter (0.5.0)
127133
pg (1.2.3)
134+
public_suffix (4.0.6)
128135
puma (4.3.3)
129136
nio4r (~> 2.0)
130137
rack (2.2.2)
@@ -222,6 +229,7 @@ DEPENDENCIES
222229
byebug
223230
devise
224231
jbuilder (~> 2.7)
232+
letter_opener
225233
listen (>= 3.0.5, < 3.2)
226234
pg (>= 0.18, < 2.0)
227235
puma (~> 4.1)

config/environments/development.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838

3939
config.action_mailer.perform_caching = false
4040

41+
config.action_mailer.delivery_method = :letter_opener
42+
config.action_mailer.perform_deliveries = true
43+
4144
# Print deprecation notices to the Rails logger.
4245
config.active_support.deprecation = :log
4346

0 commit comments

Comments
 (0)