Forum: Ruby on Rails Can I use different version of action mailer

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
De9653edd5992e0560cbdee75d5fabe9?d=identicon&s=25 Levi L. (levi2)
on 2015-05-14 20:37
Hello!  I've been trying to upgrade from Ruby 1.8.6 to ruby 2.2.2 at my
workplace, and as expected its been a bit rough.  :)

I have a old 2.0.5 rails application that needs to keep working,  and
I've ran into a bit of a roadblock with the ActionMailer having a syntax
error.  However the problem is fixed in the 2.3.18 version of the gem.

Is it possible to tell rails 2.0.5 to use the 2.3.18 gem for action
mailer only?  I haven't been able to find anything about using different
versions of the gems so I'm suspecting not, but it would be great to
know how.  :)
Matt Jones (Guest)
on 2015-05-16 02:28
(Received via mailing list)
On Thursday, 14 May 2015 14:37:53 UTC-4, User wrote:
> versions of the gems so I'm suspecting not, but it would be great to
> know how.  :)
The odds aren't great that such a thing would work; the internals were
moving around a lot between versions back then.

Unrelated: you may have already done this, but make SURE you've patched
JSON parser to close these holes:


I doubt these are the only security vulnerabilities in 2.0.5, but these
are some of the nastiest.

--Matt Jones
De9653edd5992e0560cbdee75d5fabe9?d=identicon&s=25 Levi L. (levi2)
on 2015-05-19 17:12
Thanks, figured as much.  Oh well.
This topic is locked and can not be replied to.