fphilipe/premailer-rails3 — Issue #14: rails dependency not required
Author: jjb
Created: 2012-01-03 03:16:21+00:00
State: open

Howdy -- thanks for a great gem!

I'm using ActionMailer in a non-rails project, and I figured using premailer-rails3 would require some monkeypatching. The good news is, it didn't require this at all, it just works as-is.

However the gem lists rails as a dependency. I commented this out in a local fork and everything runs just fine. The spec suite even runs. I suppose you might want to list actionmailer as a dependency, but even there, the user would already be using it in their app.

So, you can remove the rails dependency, and also proudly advertise your plugin as supporting actionmailer in any environment.

(and maybe even change the name to premailer-actionmailer3 :-D )

cheers,
john