On Wed, Feb 10, 2010 at 5:50 AM, Eric Hodel <drbrain at segment7.net>
wrote:> Why not have it as a dependency instead?
> I already have treetop installed thanks to cucumber so I don''t see
why I should need two copies.
Hi Eric,
This is the tmail list :)  http://groups.google.com/group/mail-ruby
But to answer your question, treetop in your gems pulls in Polyglot,
polyglot does not play nice with Rails.  And polyglot is not needed at
all for mail as it allows you to load .treetop files as require
statements, which means run time parser compilation.
Mail doesn''t need run time parser compilation, we parse at gem build
time.
So I asked for a treetop in the treetop mailing list where I could
declare a global constant to avoid loading polyglot, this was refused.
So I had to fork treetop with this change and maintain my own version.
Sucks... but c''est la vie
Mikel
-- 
http://lindsaar.net/