Skip to content

Instantly share code, notes, and snippets.

@anlek
Created November 16, 2012 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anlek/4090871 to your computer and use it in GitHub Desktop.
Save anlek/4090871 to your computer and use it in GitHub Desktop.
Issue with Roadie
ArgumentError (invalid byte sequence in US-ASCII):
vendor/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/core_ext/object/blank.rb:105:in `=~'
vendor/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/core_ext/object/blank.rb:105:in `!~'
vendor/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/core_ext/object/blank.rb:105:in `blank?'
vendor/ruby/1.9.1/gems/mail-2.4.4/lib/mail/body.rb:36:in `initialize'
vendor/ruby/1.9.1/gems/mail-2.4.4/lib/mail/message.rb:1909:in `new'
vendor/ruby/1.9.1/gems/mail-2.4.4/lib/mail/message.rb:1909:in `process_body_raw'
vendor/ruby/1.9.1/gems/mail-2.4.4/lib/mail/message.rb:1155:in `body'
vendor/ruby/1.9.1/gems/mail-2.4.4/lib/mail/message.rb:1514:in `parts'
vendor/ruby/1.9.1/gems/mail-2.4.4/lib/mail/message.rb:1552:in `attachments'
vendor/ruby/1.9.1/gems/mail-2.4.4/lib/mail/message.rb:1556:in `has_attachments?'
vendor/ruby/1.9.1/gems/actionmailer-3.2.9/lib/action_mailer/base.rb:671:in `set_content_type'
vendor/ruby/1.9.1/gems/actionmailer-3.2.9/lib/action_mailer/base.rb:652:in `mail'
vendor/ruby/1.9.1/gems/roadie-2.3.4/lib/roadie/action_mailer_extensions.rb:25:in `mail_with_inline_styles'
app/mailers/order_mailer.rb:19:in `purchaser_receipt'
vendor/ruby/1.9.1/gems/actionpack-3.2.9/lib/abstract_controller/base.rb:167:in `process_action'
vendor/ruby/1.9.1/gems/actionpack-3.2.9/lib/abstract_controller/base.rb:121:in `process'
vendor/ruby/1.9.1/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:45:in `process'
vendor/ruby/1.9.1/gems/actionmailer-3.2.9/lib/action_mailer/base.rb:458:in `process'
vendor/ruby/1.9.1/gems/actionmailer-3.2.9/lib/action_mailer/base.rb:452:in `initialize'
vendor/ruby/1.9.1/gems/actionmailer-3.2.9/lib/action_mailer/base.rb:439:in `new'
vendor/ruby/1.9.1/gems/actionmailer-3.2.9/lib/action_mailer/base.rb:439:in `method_missing'
app/controllers/orders_controller.rb:73:in `submit'
@luma7
Copy link

luma7 commented May 19, 2013

I'm having the same problem with the exception_notification gem. It tried to send an email because of some occurring exception. That exception which will be taken into the email body contains non-Ascii charachters like \xC3\xBC.

actionmailer (3.2.13)
activesupport (3.2.13)
Ascii85 (1.0.2)
exception_notification (3.0.1)
i18n (0.6.1)
mail (2.5.4)
rails (3.2.13)

@anlek
Copy link
Author

anlek commented Jun 10, 2013

This gist is in reference to this issue: Mange/roadie#40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment