0
我花了好半天的時間試圖解決融合乘客由於json gem內的某個段錯誤問題而無法處理請求的問題。在nginx上運行json gem時融合乘客問題
關於這個問題也有類似的帖子,但是沒有一個解決方案似乎可以工作。我嘗試清除寶石並重新捆綁,例如gemset爲空,捆綁安裝。
有趣的是,這是關於這個運行軌道服務器是好的,運行fusion-passenger獨立也很好,只有在nginx下運行時,我是否有這個問題。
/usr/local/rvm/gems/ruby-2.0.0-p481/gems/json-1.8.1/lib/json/common.rb:67: [BUG] Segmentation fault
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
Web application could not be started
An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read this article for more information about this problem.
原始過程輸出:
/usr/local/rvm/gems/ruby-2.0.0-p481/gems/json-1.8.1/lib/json/common.rb:67: [BUG] Segmentation fault
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]