Skip to content
trevorturk edited this page Jun 9, 2011 · 18 revisions

Edge case problems when not using the mount_on option in mounted uploaders

As discussed in issue 249 and elsewhere, you may encounter problems when not using the mount_on option in a mounted uploader. If you experience any issues related to this, please do feel free to update this wiki section with more details in order to help others. Thank you!

Uploading a new file does not automatically remove the existing file(s)

As discussed in issue 75 and elsewhere, when uploading a new file over another existing file in a mounted uploader, previously stored files will not be removed. Pull requests that aim to solve this problem are most welcome.

Install image manipulation libraries first, and then install their associated gems

If you get an error such as "Attachment failed to be processed" ensure that you have installed the relevant image manipulation library before installing the associated gem.

Ruby 1.9 & ImageMagick

Read this "Stack Overflow page":http://stackoverflow.com/questions/2838307/why-is-this-rmagick-call-generating-a-segmentation-fault and try uninstalling any prexisting installations and deleting your cache.

brew remove imagemagick
brew --cache imagemagick
brew install -f imagemagick --disable-openmp

Clone this wiki locally