socketry/timers

undefined method `new' for Timers:Module

Closed this issue · 2 comments

With Celluloid 0.15.2 and Timers 4.0.1

/usr/lib64/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/receivers.rb:9:in initialize': undefined methodnew' for Timers:Module (NoMethodError)
from /usr/lib64/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:149:in new' from /usr/lib64/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:149:ininitialize'
from /usr/lib64/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid.rb:188:in new' from /usr/lib64/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid.rb:188:innew'
from /usr/lib64/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/supervisor.rb:16:in supervise_as' from /usr/lib64/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid.rb:214:insupervise_as'
from /usr/lib64/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid.rb:115:in start' from /usr/lib64/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/autostart.rb:3:in<top (required)>'
from /usr/lib64/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in require' from /usr/lib64/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:inrescue in require'
from /usr/lib64/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'

Try rolling back to timers 2.x. I should probably push a new version of celluloid 0.15 that locks to the appropriate version of the timers gem.

That works. Thanks.