gpt4 book ai didi

Puma 服务器无法启动,libssl 错误 - 找不到文件

转载 作者:行者123 更新时间:2023-12-05 00:38:38 27 4
gpt4 key购买 nike

尝试启动 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)>'

最佳答案

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

关于Puma 服务器无法启动,libssl 错误 - 找不到文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53292365/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com