Carrierwave_docsplit is a project mainly written in Ruby, it's free.
Integrates Docsplit into CarrierWave to allow processing of uploaded documents