Eric wrote:> On Apr 24, 1:22�pm, David Forman
<rails-mailing-l...-ARtvInVfO7m5VldFQK4jKA@public.gmane.orgt>
> 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.
--
Posted via http://www.ruby-forum.com/.