OK a couple of things you can try.
The first is located here https://gist.github.com/995663

The above solution seemed fine, but I did not test and instead opted
to create a new uploader

rails g uploader Doc
rails g uploader Image

Then I configured the ImageUploader to use rmagick

in the Model

  mount_uploader :doc, DocUploader
  mount_uploader :image, ImageUploader


This allows me to use the image uploader to process images with
rmagick
and non image files use the DocUploader

On Jun 16, 8:42 am, Fernando Aureliano <[email protected]>
wrote:
> Hi,
>
> I'm using the carrierwave to upload images and pdf in my application, and
> I'd like to upload docs and zips too.
>
> I'm already put this formats as extensions allowed, but when I try upload
> this kind of files, I get the error *failed to be processed*.
>
> Someone know how I do for get the upload of these files work with
> carrierwave?
>
>    Thanks!
>
> --
> *Fernando Aureliano*

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to