This project is archived and is in readonly mode.
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
-
Cezary Baginski April 24th, 2010 @ 11:06 AM
- Tag changed from encoding utf8 to encoding utf8, patch
Patch for 2-3-stable attached.
-
Repository April 25th, 2010 @ 02:52 AM
- State changed from open to resolved
(from [ec7716abcdaa79082a32ee087391eac31859a522]) actionpack: added missing encoding comments [#4466 state:resolved]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/ec7716abcdaa79082a32ee087391ea...
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 2188 Encoding error in Ruby1.9 for templates ActionPack works with -Ku, -Ks, -Ke, -Kn and without -K (...
- 4466 ActionPack: 2-3-stable tests fail in Ruby 1.9 ( with -K options ) (from [ec7716abcdaa79082a32ee087391eac31859a522]) actionp...