Forum: Rails Engines development checking plugin...

263b956f8732abf0a129c8b493e2b473?d=identicon&s=25 ben wiseley (Guest)
on 2008-03-22 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
263b956f8732abf0a129c8b493e2b473?d=identicon&s=25 ben wiseley (Guest)
on 2008-03-22 09:05
(Received via mailing list)
Sorry!  Should have google'd more... here's the solution:
http://www.williambharding.com/blog/?p=110
This topic is locked and can not be replied to.