开发者

Prawn does not render a PDF on Heroku, but does it local

开发者 https://www.devze.com 2023-03-17 05:44 出处:网络
As the title says: My PDFs are perfectly rendered when I run on my server locally, but on Heroku I get a NoMethodError. It seems that Heroku cannot find my prawn gem. I am using t开发者_StackOverflow中

As the title says: My PDFs are perfectly rendered when I run on my server locally, but on Heroku I get a NoMethodError. It seems that Heroku cannot find my prawn gem. I am using t开发者_StackOverflow中文版he prawn-rails gem.

Any ideas?

I have uploaded the complete callstack here: http://f.cl.ly/items/2g232h3U0B2G0k0i0S1y/Action%20Controller%20%20Exception%20caught.html


Solved. It seems as Heroku does not have a "Helvetica".

0

精彩评论

暂无评论...
验证码 换一张
取 消