Unable to save a pdf in production

I am using Mod_Rails in Debian, with production. In development I am able to save a pdf file, but I can't in production and I don't get any message.

No idea, but why would you use something as new as mod_rails in production?