使用Nokogiri的Capistrano / Passenger错误@ Nginx-不兼容的库版本

问题描述 投票:1回答:0

我用capistrano启动了我的Rails应用程序,但是以下错误消息出现在nginx.log

[ E 2019-09-13 17:16:40.3640 4469/To age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /home/deploy/eurotec-crm/current: The application encountered the following error: incompatible library version - /vendor/cache/ruby/2.5.0/gems/nokogiri-1.10.4/lib/nokogiri/nokogiri.so (LoadError)
  Error ID: 4276d735
  Error details saved to: /tmp/passenger-error-sxGWLJ.html

[ E 2019-09-13 17:16:40.3689 4469/Ta age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 2-2] Cannot checkout session because a spawning error occurred. The identifier of the error is 4276d735. Please see earlier logs for details about the error.

因此,我尝试通过以下链接修复问题:

最后, capistrano deploy无法安装nokogiri

我在Google上搜索了很多,遵循了我能找到的所有步骤-包括重新安装所有gems,重新安装所有系统依赖项,无限次重新启动服务器,有点哭...

任何人都可以阐明一下吗?

ruby-on-rails ruby capistrano nokogiri passenger
© www.soinside.com 2019 - 2024. All rights reserved.