Forum: Mongrel rails 2.2 upload progress handler

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.
Surendra S. (Guest)
on 2008-12-18 11:15
(Received via mailing list)
Hello,

I am trying to change my rails 1.2.6 application to rails 2.2
I have made all the other changes and able to make everything work
except upload progress.
When I try to start the mongrel server using the command

 mongrel_rails start -S config/mongrel.conf

it throws the error

** Rails loaded.
** Loading any Rails specific GemPlugins
** Loading config/mongrel.conf external config script
/usr/lib/ruby/gems/1.8/gems/gem_plugin-0.2.3/lib/gem_plugin.rb:163:in
`create': Plugin category /handlers does not exist (RuntimeError)
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:263:in
`plugin'
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:348:in
`run_config'
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:347:in
`open_uri_original_open'
  from /usr/lib/ruby/1.8/open-uri.rb:32:in `open'
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:347:in
`run_config'
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:121:in
`cloaker_'
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in
`call'
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in
`listener'
  from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in
`cloaker_'
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in
`call'
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in
`initialize'
  from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in
`new'
  from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in
`run'
  from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in
`run'
  from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281

the

config/mongrel.conf contains

uri "/",
  :handler => plugin("/handlers/upload", :path_info =>
'/upload/create', :memcached => UPLOAD_PROGRESS_CACHE),
  :in_front => true

We are using memcache to store the upload progress info. This works
smoothly in Rails 1.2.6.
What has changed in the new rails version which is causing this error,
how to get it working?

Any help on this issue will be much appreciated.

Thanks in advance.
Regards,
This topic is locked and can not be replied to.