PDF conversion with ruby/linux



Unfortunately I have a project which has the requirement that users may submit several different document types (currently at least .doc and ppt) which should be converted on the fly to pdf available for immediate preview. Can anyone point me in the direction of a library or SDK that would allow me to do this with Ruby on a linux box? There is a budget for this aspect of the project so commercial products are viable.

Thanks,

tfw


.