Using CarrierWave with DreamObjects in Rails

Mar 12, 2013

I just started using DreamObjects for cloud storage. It is compatible with most Amazon S3 implementations, but at the moment it is about 20% of the price.

I needed to use it with CarrierWave, which is a Ruby gem for uploading files. It natively supports S3, but needed some extra configuration to work properly with DreamObjects. This is what I did to get CarrierWave, DreamObjects, and Rails working together correctly.

Obviously you will need a DreamObjects account and a Rails app with CarrierWave installed.

I needed to create the file config/initializers/carrierwave.rb, but I am led to believe that in some cases it already exists.