This project is archived and is in readonly mode.

#5681 ✓invalid
Andrea Campi

rchardet in ActionMailer / TMail prevents use of newer rchardet versions

Reported by Andrea Campi | September 22nd, 2010 @ 08:48 AM

TMail has a vendored version of rchardet 1.3.
It's impossible for a Rails 2 application to use a newer version of rchardet: no matter how I tried to load a different one, the one in ActionMailer is called anyway.
I tried specifying one as a gem in environment.rb and using either a vendored or non-vendored gem. I also tried rcharder in vendor/plugins.

This is particularly problematic because rchardet 1.3 does not work with Ruby 1.9.2, throwing exception in at least a couple of spots.
In fact, the only fork I could find that seems to work with Ruby 1.9.2 is

Unfortunately I don't have a fix or workaround to propose.

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>