I have a weird problem after I moved my rails application from shared hosting to VPS on DreamHost. pdfkit hangs.
Page A is called and it generates a pdf from HTML(Page B). But when Page A calls Page B, as Page A is not finished, Page B is waiting. So this is basically circular problem.
This didn't happen before.
How do I solve this problem?