On Thu, Dec 29, 2011 at 8:24 AM, sethgitner wrote:
I am having issues loading imagemagick and rmagick on webfaction.
I have installed a rails app called balder that organizes images.
my main problem is that i can't seem to upoload the image sthrough balder.
balder uses imagemagick and rmagick
Well, checking deeper, it seems to use mini_magick by default
and only optionally uses rmagick.
when i use the console and do this:
irb(main):003:0> require 'RMagick'
I don't think rmagick is working -- anyone have any ideas?
- ImageMagicK. Carrierwave can use either RMagicK or MiniMagicK (default).
To change resize option the correct gem must be used (specified in Gemfile)
and change included setting for Carrierwave in file_uploader.rb
Can be installed from: http://www.imagemagick.org
Looking into that file:
# Include RMagick or ImageScience support
# include CarrierWave::RMagick
# include CarrierWave::ImageScience
Did you change these default settings?
Looking into the Gemfile:https://github.com/espen/balder/blob/master/Gemfile
# -- Photo resizing
#gem "rmagick", :require => 'RMagick'
#gem "image_science", :git => 'git://github.com/perezd/image_science.git'
So, probably, if you want to activate rmagick for CarrierWave, you should
the line with "rmagick" and rerun `bundle install` after that.
But, I would first check why the upload functionality does not work with the
default mini_magick that _is_ most probably installed.
But then again ... this file
also tries to require 'rmagick' and install the gem 'rmagick'...