발사 금지
18829 단어 letter_opener
우선 보석 고마워요. 아주 유용해요.
프로그램을 Docker로 이동하려고 시도하고 있지만, LetterOpener에서 Launchy를 사용하지 못하게 하려고 하는 것 같습니다.문서의 제안에 따라 초기값 설정 항목을 추가했습니다.
묘사
과nil
만 추가하려고 했지만, 아무런 효과가 없는 것 같습니다.# config/initliazers/launchy.rb
Launchy.application = nil
코드를 훑어보았지만 Gem에서 사용하지 않는 방법을 찾지 못했습니다. 그래서 이 부분을 사용하지 않도록 로고를 추가할 수 있는지 알고 싶습니다.개발 과정에서 전자메일을 포획하는 능력은 놀랍지만, 웹 브라우저/옵션 카드를 시작하는 것을 금지하고 싶지만, 웹 인터페이스에서만 전자메일을 볼 수 있습니다.다음 오류에서 볼 수 있듯이, 내 Sidekiq 용기는 ActionMailer를 통해 이메일을 보내려고 했지만
Launchy.application
오류가 발생했습니다.Launchy::CommandNotFoundError
미안하지만, 만약 내가 다른 방법을 놓쳤다면.다시 한 번 감사하지만,
바울아.
sidekiq_1 | 2020-03-08T14:06:19.376Z pid=199 tid=gt9iv5zkf class=ActionMailer::MailDeliveryJob jid=f98255d9285c047a82d8a325 elapsed=0.758 INFO: fail
sidekiq_1 | 2020-03-08T14:06:19.376Z pid=199 tid=gt9iv5zkf WARN: {"context":"Job raised exception","job":{"retry":true,"queue":"mailers","class":"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper","wrapped":"ActionMailer::MailDeliveryJob","args":[{"job_class":"ActionMailer::MailDeliveryJob","job_id":"52048863-f20f-46ec-931e-73e299aeb18a","provider_job_id":null,"queue_name":"mailers","priority":null,"arguments":["ExportMailer","send_csv","deliver_now",{"args":[{"_aj_globalid":"gid://app/Export/4"}],"_aj_symbol_keys":["args"]}],"executions":0,"exception_executions":{},"locale":"en","timezone":"UTC","enqueued_at":"2020-03-08T14:06:18Z"}],"jid":"f98255d9285c047a82d8a325","created_at":1583676378.6154103,"enqueued_at":1583676378.6154485},"jobstr":"{\"retry\":true,\"queue\":\"mailers\",\"class\":\"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper\",\"wrapped\":\"ActionMailer::MailDeliveryJob\",\"args\":[{\"job_class\":\"ActionMailer::MailDeliveryJob\",\"job_id\":\"52048863-f20f-46ec-931e-73e299aeb18a\",\"provider_job_id\":null,\"queue_name\":\"mailers\",\"priority\":null,\"arguments\":[\"ExportMailer\",\"send_csv\",\"deliver_now\",{\"args\":[{\"_aj_globalid\":\"gid://app/Export/4\"}],\"_aj_symbol_keys\":[\"args\"]}],\"executions\":0,\"exception_executions\":{},\"locale\":\"en\",\"timezone\":\"UTC\",\"enqueued_at\":\"2020-03-08T14:06:18Z\"}],\"jid\":\"f98255d9285c047a82d8a325\",\"created_at\":1583676378.6154103,\"enqueued_at\":1583676378.6154485}"}
sidekiq_1 | 2020-03-08T14:06:19.377Z pid=199 tid=gt9iv5zkf WARN: Launchy::CommandNotFoundError: Unable to find a browser command. If this is unexpected, Please rerun with environment variable LAUNCHY_DEBUG=true or the '-d' commandline option and file a bug at https://github.com/copiousfreetime/launchy/issues/new
sidekiq_1 | 2020-03-08T14:06:19.377Z pid=199 tid=gt9iv5zkf WARN: /usr/local/rvm/gems/ruby-2.6.5/gems/launchy-2.4.3/lib/launchy/applications/browser.rb:63:in `browser_cmdline'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/launchy-2.4.3/lib/launchy/applications/browser.rb:67:in `cmd_and_args'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/launchy-2.4.3/lib/launchy/applications/browser.rb:78:in `open'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/launchy-2.4.3/lib/launchy.rb:29:in `open'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/letter_opener-1.7.0/lib/letter_opener/delivery_method.rb:24:in `deliver!'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/mail-2.7.1/lib/mail/message.rb:2159:in `do_delivery'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/mail-2.7.1/lib/mail/message.rb:260:in `block in deliver'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/actionmailer-6.0.2.1/lib/action_mailer/base.rb:589:in `block in deliver_mail'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/notifications.rb:180:in `block in instrument'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/notifications.rb:180:in `instrument'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/actionmailer-6.0.2.1/lib/action_mailer/base.rb:587:in `deliver_mail'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/mail-2.7.1/lib/mail/message.rb:260:in `deliver'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/actionmailer-6.0.2.1/lib/action_mailer/message_delivery.rb:114:in `block in deliver_now'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/actionmailer-6.0.2.1/lib/action_mailer/rescuable.rb:17:in `handle_exceptions'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/actionmailer-6.0.2.1/lib/action_mailer/message_delivery.rb:113:in `deliver_now'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/actionmailer-6.0.2.1/lib/action_mailer/mail_delivery_job.rb:18:in `perform'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/execution.rb:39:in `block in perform_now'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/marginalia-1.8.0/lib/marginalia/railtie.rb:37:in `block (2 levels) in insert_into_active_job'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `instance_exec'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sentry-raven-2.13.0/lib/raven/integrations/rails/active_job.rb:13:in `block (2 levels) in included'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `instance_exec'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/i18n-1.8.2/lib/i18n.rb:313:in `with_locale'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `instance_exec'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/core_ext/time/zones.rb:66:in `use_zone'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `instance_exec'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/logging.rb:25:in `block (4 levels) in <module:Logging>'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/notifications.rb:180:in `block in instrument'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/notifications.rb:180:in `instrument'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/logging.rb:24:in `block (3 levels) in <module:Logging>'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/logging.rb:45:in `block in tag_logger'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/tagged_logging.rb:80:in `block in tagged'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/tagged_logging.rb:28:in `tagged'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/tagged_logging.rb:80:in `tagged'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/logging.rb:45:in `tag_logger'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/logging.rb:21:in `block (2 levels) in <module:Logging>'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `instance_exec'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:139:in `run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/execution.rb:38:in `perform_now'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/execution.rb:24:in `block in execute'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/railtie.rb:43:in `block (4 levels) in <class:Railtie>'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/execution_wrapper.rb:88:in `wrap'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/reloader.rb:72:in `block in wrap'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/execution_wrapper.rb:84:in `wrap'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/reloader.rb:71:in `wrap'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/railtie.rb:42:in `block (3 levels) in <class:Railtie>'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `instance_exec'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/callbacks.rb:139:in `run_callbacks'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/execution.rb:22:in `execute'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activejob-6.0.2.1/lib/active_job/queue_adapters/sidekiq_adapter.rb:42:in `perform'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:196:in `execute_job'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:164:in `block (2 levels) in process'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/middleware/chain.rb:138:in `block in invoke'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sentry-raven-2.13.0/lib/raven/integrations/sidekiq.rb:9:in `call'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/middleware/chain.rb:140:in `block in invoke'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/middleware/chain.rb:143:in `invoke'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:163:in `block in process'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/job_retry.rb:111:in `local'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/rails.rb:43:in `block in call'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/execution_wrapper.rb:88:in `wrap'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/reloader.rb:72:in `block in wrap'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/execution_wrapper.rb:88:in `wrap'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/activesupport-6.0.2.1/lib/active_support/reloader.rb:71:in `wrap'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/rails.rb:42:in `call'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:257:in `stats'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/job_logger.rb:13:in `call'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/job_retry.rb:78:in `global'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:124:in `block in dispatch'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/logger.rb:10:in `with'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/job_logger.rb:33:in `prepare'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:123:in `dispatch'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:162:in `process'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:78:in `process_one'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/processor.rb:68:in `run'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/util.rb:15:in `watchdog'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/sidekiq-6.0.5/lib/sidekiq/util.rb:24:in `block in safe_thread'
헤이@prwhitehead.이 문제에 관한 토론을 보십시오https://github.com/ryanb/letter_opener/issues/117.도움이 되었으면 좋겠어요!토론 #1
헤이@nashby,답장해줘서 고마워요.불행하게도 링크된 라인의 권장 사항은 전환
토론 #2
로고입니다. 이것은 모든 전자메일의 발송을 막기 때문에 개봉기에 아무런 내용도 표시하지 않습니다.perform_deliveries
내가 말하고 싶은 것은, 내 프로그램이 전자메일을 보내는 곳은, 해신기에 포착되어, 인터페이스에서 볼 수 있지만, config.action_mailer.perform_deliveries = false
프로그램은 새로운 브라우저 옵션을 자동으로 열어 새로운 전자메일을 표시하는 것을 터치하지 않는다는 것이다.이게 가능합니까?
시간 내주셔서 감사합니다.
바울아.
Launchy
@prwhitehead 헤이!예, ENV 변수토론 #셋
만 설정하면 됩니다.이 경우 Launchy는 stdout에 명령만 내보냅니다.LAUNCHY_DRY_RUN=true
안녕하세요, @nashby, 답변 감사합니다.불행히도 이것은 효과가 없다.다음 오류가 계속 발생합니다.WARN: Launchy::CommandNotFoundError: Unable to find a browser command. If this is unexpected, Please rerun with environment variable LAUNCHY_DEBUG=true or the '-d' commandline option and file a bug at https://github.com/copiousfreetime/launchy/issues/new
sidekiq_1 | 2020-03-15T14:35:33.839Z pid=904 tid=gp9z4tfl8 WARN: /usr/local/rvm/gems/ruby-2.6.5/gems/launchy-2.4.3/lib/launchy/applications/browser.rb:63:in `browser_cmdline'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/launchy-2.4.3/lib/launchy/applications/browser.rb:67:in `cmd_and_args'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/launchy-2.4.3/lib/launchy/applications/browser.rb:78:in `open'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/launchy-2.4.3/lib/launchy.rb:29:in `open'
sidekiq_1 | /usr/local/rvm/gems/ruby-2.6.5/gems/letter_opener-1.7.0/lib/letter_opener/delivery_method.rb:24:in `deliver!'
콘솔에 로그인하고 해싱을 출력하여 ENV 변수토론 #4
의 존재를 확인합니다.구글에서 검색해 보니 다른 항목이 당신
LAUNCHY_DRY_RUN
방법으로 원숭이 패치를 해서 이 오류를 발견한 것 같습니다.https://github.com/fgrehm/letter_opener_web/blob/master/lib/letter_opener_web/delivery_method.rb나는 Monkey patch를 사용하고 싶지 않다. 이것은 앞으로 업데이트와 오류 복구를 놓칠 수도 있다는 것을 의미하기 때문이다. 그러나 Docker를 사용하여 응용 프로그램을 개발하는 사용자를 돕기 위해서. 이것은 지역 사회의 점점 더 많은 부분이다. 당신이 추가할 것을 고려할 것인가.
이 방면의 도움에 다시 한 번 감사드립니다.
바울아.
delivery!
@prwhitehead 헤이!알겠습니다. 보시다시피, Launchy는 어떤 브라우저도 찾을 수 없습니다. 왜냐하면 docker env에 브라우저가 없기 때문입니다.너는 토론 #5
env를 유사BROWSER
한 값으로 설정해 볼 수 있니!감사합니다 @nashby, 이제 됐습니다.다음과 같은 결과를 얻었습니다.
/dev/null
만약 내가 자술한 파일을 편집하기 위해 홍보를 했다면, 당신은 받아들일 수 있습니까? 왜냐하면 이것은 다른 사람들에게 도움이 될 수 있기 때문입니다. 왜냐하면 더 많은 사람들이 그들의 프로그램을 압축하기 때문입니다.LAUNCHY_DRY_RUN=true
@prwhitehead 정말 좋아요!공관에 관한 좋은 생각입니다. 계속하세요. 감사합니다.토론 #6
sidekiq_1 | 2020-03-17T09:01:40.358Z pid=11 tid=gn1p1909v class=ActionMailer::MailDeliveryJob jid=7e439b8e0f7e89bebcddc8e8 INFO: start
sidekiq_1 | /dev/null file:////home/app/tmp/letter_opener/1584435709_1540718_673e21b/rich.html
sidekiq_1 | 2020-03-17T09:01:49.209Z pid=11 tid=gn1p1909v class=ActionMailer::MailDeliveryJob jid=7e439b8e0f7e89bebcddc8e8 elapsed=8.851 INFO: done
는 Docker가 없는 Rails 6 응용 프로그램에서도 저를 위해 일합니다.토론 #7
저는 env 변수토론 #8
가 있기 때문에 실제적으로 다음과 같은 내용을 사용할 수 있습니다.BROWSER=/dev/null LAUNCHY_DRY_RUN=true rails db:seed
Reference
이 문제에 관하여(발사 금지), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://github.com/ryanb/letter_opener/issues/173텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)