在我的rails应用程序中,我使用以下宝石:
gem "sidekiq-pro", "~> 2.1.3"
gem 'sidetiq', "~> 0.6.3", github: 'akhiln/sidetiq'
当我使用vagrant VM运行我的应用程序时,它会返回以下错误:
2016-01-03T00:20:02.214Z 15814 TID-ouw1nsoe4 ERROR: Actor crashed!
Celluloid::DeadActorError: attempted to call a dead actor
/home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/proxy/sync.rb:25:in `method_missing'
/usr/lib/ruby/2.2.0/set.rb:308:in `delete'
/usr/lib/ruby/2.2.0/set.rb:308:in `delete'
/home/vagrant/.gem/ruby/2.2.0/gems/celluloid-pool-0.20.5/lib/celluloid/supervision/container/pool.rb:163:in `__crash_handler__'
/home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/cell.rb:15:in `block in call'
/home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/cell.rb:76:in `block in task'
/home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/actor.rb:339:in `block in task'
/home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/task.rb:44:in `block in initialize'
/home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/task/fibered.rb:14:in `block in create'
2016-01-03T00:20:02.214Z 15814 TID-ouw1nsoe4 INFO: [Sidetiq] Sidetiq::Actor::Handler id: 70127320173720 shutting down …
当我正常启动服务器时,它可以正常工作。我该如何解决这个问题?