前提・実現したいこと
meilerの実装中にエラーが発生しました。
これは、localでは動き、メールも送信されるんですが、
AWS上で動かそうとすると以下のようなエラーが出ます。
どうぞよろしくお願いいたします。
発生している問題・エラーメッセージ
ContactsController
Launchy::CommandNotFoundError in ContactsController#create 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
mailer.rb
lass NotificationMailer < ApplicationMailer default from: "**************@gmail.com" def send_confirm_to_user(user) @user = user mail to: @user.email, bcc: '**************@gmail.com', subject: '**************' end
該当のソースコード
if @contact.save NotificationMailer.send_confirm_to_user(@contact).deliver_now render :action => 'create' else render :new
試したこと
letter_openerというgemが入っていたので、uninstallしました。
追記:再度installしました。あまり関係ないようです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。