RoR ffmpeg installed by brew
===

I'm developing a Ruby on Rails application that needs ffmpeg, to do some processing of the files I have.

However, when trying to use ffmpeg, I get this error
 
    Failed encoding. Errors: no output file created. Full output: dyld: Library not loaded: /usr/local/lib/libogg.0.dylib
    Referenced from: /usr/local/bin/ffmpeg
    Reason: Incompatible library version: ffmpeg requires version 9.0.0 or later, but libogg.0.dylib provides version 6.0.0

It's a basically a CarrierWave project, which can be seen here: http://www.freezzo.com/2010/12/23/create-ffmpeg-processor-for-carrierwave-in-rails-3/