Closed Ingosmar89219 closed 7 years ago
hey, looks like it's issue with launchy
gem we use to open email. You can try to set $BROWSER
variable and point it to browser and see if that helps: https://github.com/copiousfreetime/launchy#using-the-browser-environment-variable
i have a project in development in ubuntu works fine, open the view in the browser but in windows open a file with name "rich.html" in the editor sublime text. someone can help me? some information: GEM gem 'letter_opener'
development.rb config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } config.action_mailer.delivery_method = :letter_opener config.action_mailer.perform_deliveries = true
my_payment.rb class MyPayment < ActiveRecord::Base belongs_to :shopping_cart after_update :send_email
end