3

尝试启动 puma 时出现以下错误。它抱怨它无法加载 libssl?

有任何想法吗?

root@7711398a00ad:/app# bundle exec puma -C config/puma.rb
bundler: failed to load command: puma (/bundle/bin/puma)
LoadError: libssl.so.1.0.0: cannot open shared object file: No such file or directory - /bundle/gems/puma-3.11.4/lib/puma/puma_http11.so
  /bundle/gems/puma-3.11.4/lib/puma/server.rb:15:in `require'
  /bundle/gems/puma-3.11.4/lib/puma/server.rb:15:in `<top (required)>'
  /bundle/gems/puma-3.11.4/lib/puma/runner.rb:1:in `require'
  /bundle/gems/puma-3.11.4/lib/puma/runner.rb:1:in `<top (required)>'
  /bundle/gems/puma-3.11.4/lib/puma/cluster.rb:1:in `require'
  /bundle/gems/puma-3.11.4/lib/puma/cluster.rb:1:in `<top (required)>'
  /bundle/gems/puma-3.11.4/lib/puma/launcher.rb:4:in `require'
  /bundle/gems/puma-3.11.4/lib/puma/launcher.rb:4:in `<top (required)>'
  /bundle/gems/puma-3.11.4/lib/puma/cli.rb:6:in `require'
  /bundle/gems/puma-3.11.4/lib/puma/cli.rb:6:in `<top (required)>'
  /bundle/gems/puma-3.11.4/bin/puma:6:in `require'
  /bundle/gems/puma-3.11.4/bin/puma:6:in `<top (required)>'
  /bundle/bin/puma:23:in `load'
  /bundle/bin/puma:23:in `<top (required)>'
4

1 回答 1

5

出于安全原因,libssl1.0.0 被撤下。将 puma gem 升级到最新版本(3.11.4 -> 3.12.0)为我修复了它。

于 2018-11-14T04:09:16.833 回答