This project is archived and is in readonly mode.

#4466 ✓resolved
Cezary Baginski

ActionPack: 2-3-stable tests fail in Ruby 1.9 ( with -K options )

Reported by Cezary Baginski | April 24th, 2010 @ 10:55 AM | in 2.3.6

Running the attached shell script shows the problem, e.g.:

cd actionpack
RUBYOPT=-Ke rake
actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/utils.rb:117:in `<module:TextUtils>': invalid multibyte character (ArgumentError)

This is trivial to fix and getting this to work on all tests will allow to find and solve many encoding issues before they are even reported.

The fix is adding:

# encoding: us-ascii

to the files with escaped characters.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket


Referenced by