0
我在生產環境中部署了RoR應用程序。wicket_pdf生成錯誤:無法生成PDF
App 9676 stdout: Rendered users/check.pdf.erb (15.9ms)
App 9676 stdout: Completed 500 Internal Server Error in 178ms
App 9676 stdout:
App 9676 stdout: RuntimeError (Error: Failed to execute:
App 9676 stdout: ["/home/deploy/.bundler/customerportalapp/ruby/2.1.0/gems/wkhtmltopdf-binary-0.9.9.3/bin/wkhtmltopdf", "-q", "file:///tmp/wicked_pdf20140827-9676-6sbtcf.html", "/tmp/wicked_pdf_generated_file20140827-9676-1qunpjr.pdf"]
App 9676 stdout: Error: PDF could not be generated!
App 9676 stdout: Command Error: /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.5.3/lib/bundler/spec_set.rb:92:in `materialize':
Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound)
我認爲錯誤「找不到rake-10.3.2」是一個紅鯡魚。 Rake 10.3.2已安裝。
我不知道從哪裏開始排除錯誤。有什麼建議麼?