WIN32OLEというライブラリを使うとWindowsアプリケーションを操作して自動でファイルをPDFに変換できます。 WIN32OLEについてはるびまさんの記事が詳しいです。 http://magazine.rubyist.net/?0003-Win32OLE WordをPDFに変換 word = WIN32OLE.new("Word.Application") doc = word.Documents.Open("/path/to/origin.doc") doc.ExportAsFixedFormat({ "OutputFileName" => "/path/to/output.pdf", "ExportFormat" => 17, "OpenAfterExport" => false }) doc.Close word.Quit excel = WIN32OLE.new("Exce