Ruby Forum Rails Engines development > checking plugin...

Posted by ben wiseley (Guest)
on 22.03.2008 02:16
(Received via mailing list)
Using Rails 2.0.2 and Engines 2.0.0-RC1 I'm getting some strange 
results.  I
followed the read and put this in environment.rb

require File.join(File.dirname(__FILE__), 'boot')
require File.join(File.dirname(__FILE__), 
'../vendor/plugins/engines/boot')

When I use no engines...
  config.plugins = [:exception_notification, :active_merchant,
:acts_as_taggable_redux,
    :attachment_fu]

... everything seems to work fine.  When I add engines back into the mix

  config.plugins = [:engines , :exception_notification, 
:active_merchant,
:acts_as_taggable_redux,
    :attachment_fu]

I start getting this in my log for every page load

checking plugin 'exception_notification' for
'/Users/wiseleyb/Dev/hgl/vendor/plugins/exception_notification/lib/exception_notifier_helper'
checking plugin 'active_merchant' for
'/Users/wiseleyb/Dev/hgl/vendor/plugins/exception_notification/lib/exception_notifier_helper'
checking plugin 'acts_as_taggable_redux' for
'/Users/wiseleyb/Dev/hgl/vendor/plugins/exception_notification/lib/exception_notifier_helper'
checking plugin 'attachment_fu' for
'/Users/wiseleyb/Dev/hgl/vendor/plugins/exception_notification/lib/exception_notifier_helper'
checking plugin 'engines' for
'/Users/wiseleyb/Dev/hgl/vendor/plugins/exception_notification/lib/exception_notifier_helper'
(file not found in application)

If I remove exception_notification it just moves to another plugin and 
does
the same thing.

Things seem to work, more or less, the engines I have work but some 
strange
things happen with engines in the mix.  The most consistent is that
exception_notification no longer works.

Anyone have any ideas on this?

-ben
Posted by ben wiseley (Guest)
on 22.03.2008 09:05
(Received via mailing list)
Sorry!  Should have google'd more... here's the solution:
http://www.williambharding.com/blog/?p=110