Forum: Ruby on Rails plugin loading

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
David F. (Guest)
on 2009-04-25 00:22
I just updated from Rails 1.2.0 to Rails 2.3.2 and none of the app
plugins seem to load. The server starts without any problems, but none
of the plugin code is available. Help!
Eric (Guest)
on 2009-04-25 01:09
(Received via mailing list)
On Apr 24, 1:22 pm, David F. <removed_email_address@domain.invalid>
wrote:
> I just updated from Rails 1.2.0 to Rails 2.3.2 and none of the app
> plugins seem to load. The server starts without any problems, but none
> of the plugin code is available. Help!

That's a big jump, I'm betting you'll need to update the plugins
themselves, too.
David F. (Guest)
on 2009-04-25 03:56
Eric wrote:
> On Apr 24, 1:22�pm, David F. <removed_email_address@domain.invalid>
> wrote:
>> I just updated from Rails 1.2.0 to Rails 2.3.2 and none of the app
>> plugins seem to load. The server starts without any problems, but none
>> of the plugin code is available. Help!
>
> That's a big jump, I'm betting you'll need to update the plugins
> themselves, too.

I updated and re-installed the plugins, no go. After the upgrade, I was
getting errors trying to start Mongrel about method not found,
load_plugins in the initializer, and Mongrel wouldn't load. I moved the
code from below in initializer to replace load_plugins as shown:
#load_plugins
      @plugin_loader ||= configuration.plugin_loader.new(self)
      @plugin_loader.load_plugins

Mongrel still wouldn't boot, so in the environemnt file I thought I
could load the plugins:
config.plugins = ["rfpdf", "rfpdf"]
config.plugins = ["ziya", "ziya"]
config.plugins = ["datetime_toolbocks", "datetime_toolbocks"]
config.plugins = ["acts_as_attachment", "acts_as_attachment"]
config.plugins = ["active_merchant", "active_merchant"]
config.plugins = ["Linguistics-1.0.5", "Linguistics-1.0.5"]

Now Mongrel boots, and runs just find and dandy, but when anything in
the app needs a plugin, well.....

any advice would be greatly appreciated, my experience in the
configuration (real) world is obviously pretty limited.
This topic is locked and can not be replied to.