File upload conversion

hi,

I was wondering if anyone has an written a rails app where users
upload word documents and on the server convert that file to a pdf?

I’m trying to figure out the best way to convert the file to a pdf on
the server.
We are deploying our app on a linux web host (for cost reasons we are
on a shared host) where we don’t have open office in headless mode
available.

I’ve been googling around and can’t seem to find anything so I am kind
of assuming my configuration doesn’t support what I need my rails app
to do but I thought I’d take a shot and see if anyone had any
thoughts…

Jay