kzk/unicorn-worker-killer

uninitialized constant Unicorn::WorkerKiller::Oom::UnicornWorkerKiller

JohnBat26 opened this issue · 5 comments

Hi.
Thanks for your very useful gem for Unicorn.
But I get error at production: https://gist.github.com/4222740
My config.ru: https://gist.github.com/4222742
Part of gemfile:

group :production do
gem 'unicorn'
gem 'unicorn-rails'
gem 'unicorn-worker-killer'
end

I think the latest name space change is causing this error.
UnicornWorkerKiller.kill_self(logger, @_worker_process_start)
Should be
Unicorn::WorkerKiller.kill_self(logger, @_worker_process_start)

kzk commented

Oops, that's true... fixing.

kzk commented

Just released v0.2.1. Please give it a try.

Thanks for the heads up, my bad.

Thanks for the prompt fix. ┏○ペコ

Thanks !