Я пытаюсь развернуть приложение rails на эластичном бобовом стебле с сервером puma.Из упругой части бобового стебля, кажется, все развернуто.
Я также без проблем использовал delayed_job_active_record gem
на героку.Но теперь при запуске сервера пума выдает ошибку.Я думаю, что я не мог настроить отложенную работу.Вот файл журнала;
-------------------------------------
/var/log/puma/puma.log
-------------------------------------
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:76:in `each'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:76:in `block in require'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:65:in `each'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:65:in `require'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler.rb:114:in `require'
/var/app/current/config/application.rb:7:in `<top (required)>'
/var/app/current/config/environment.rb:2:in `require'
/var/app/current/config/environment.rb:2:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:55:in `instance_eval'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:55:in `initialize'
config.ru:in `new'
config.ru:in `<main>'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:49:in `eval'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:49:in `new_from_string'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:40:in `parse_file'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/configuration.rb:318:in `load_rackup'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/configuration.rb:243:in `app'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/runner.rb:155:in `app'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/runner.rb:162:in `start_server'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:273:in `worker'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:137:in `block (2 levels) in spawn_workers'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:137:in `fork'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:137:in `block in spawn_workers'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:133:in `times'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:133:in `spawn_workers'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:211:in `check_workers'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:484:in `run'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/launcher.rb:184:in `run'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cli.rb:78:in `run'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/bin/puma:10:in `<top (required)>'
/opt/rubies/ruby-2.5.1/bin/puma:23:in `load'
/opt/rubies/ruby-2.5.1/bin/puma:23:in `<top (required)>'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli/exec.rb:75:in `load'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli/exec.rb:75:in `kernel_load'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli/exec.rb:28:in `run'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli.rb:424:in `exec'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli.rb:27:in `dispatch'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli.rb:18:in `start'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/exe/bundle:30:in `block in <top (required)>'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/exe/bundle:22:in `<top (required)>'
/opt/rubies/ruby-2.5.1/bin/bundle:23:in `load'
/opt/rubies/ruby-2.5.1/bin/bundle:23:in `<main>'
Bundler Error Backtrace:
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:80:in `block (2 levels) in require'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:76:in `each'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:76:in `block in require'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:65:in `each'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:65:in `require'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler.rb:114:in `require'
from /var/app/current/config/application.rb:7:in `<top (required)>'
from /var/app/current/config/environment.rb:2:in `require'
from /var/app/current/config/environment.rb:2:in `<top (required)>'
from config.ru:3:in `require'
from config.ru:3:in `block in <main>'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:55:in `instance_eval'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:55:in `initialize'
from config.ru:in `new'
from config.ru:in `<main>'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:49:in `eval'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:49:in `new_from_string'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/rack-1.6.10/lib/rack/builder.rb:40:in `parse_file'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/configuration.rb:318:in `load_rackup'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/configuration.rb:243:in `app'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/runner.rb:155:in `app'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/runner.rb:162:in `start_server'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:273:in `worker'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:137:in `block (2 levels) in spawn_workers'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:137:in `fork'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:137:in `block in spawn_workers'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:133:in `times'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:133:in `spawn_workers'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:211:in `check_workers'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cluster.rb:484:in `run'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/launcher.rb:184:in `run'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/lib/puma/cli.rb:78:in `run'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/puma-3.12.0/bin/puma:10:in `<top (required)>'
from /opt/rubies/ruby-2.5.1/bin/puma:23:in `load'
from /opt/rubies/ruby-2.5.1/bin/puma:23:in `<top (required)>'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli/exec.rb:75:in `load'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli/exec.rb:75:in `kernel_load'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli/exec.rb:28:in `run'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli.rb:424:in `exec'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli.rb:27:in `dispatch'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/cli.rb:18:in `start'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/exe/bundle:30:in `block in <top (required)>'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
from /opt/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.0/exe/bundle:22:in `<top (required)>'
from /opt/rubies/ruby-2.5.1/bin/bundle:23:in `load'
from /opt/rubies/ruby-2.5.1/bin/bundle:23:in `<main>'
Что я должен сделать, чтобы настроить гем активной записи отложенного задания на эластичном beanstalk на другом экземпляре EC2?