I modified the model in has_attachment to include “:processor =>
:image_science”. I’m having a separate problem installing image_magick,
so that isn’t a viable option.
I’ve searched up and down on the internet, and can’t seem to find anyone
with the same problem. If you have any suggestions please let me know.
I am having exactly the same problem. Everything works on my macbook
pro. But on my deployment server I get the same error.
I’m still looking. Hopefully I can find a solution. Like you, I’m
having trouble with RMagick. Plus I like Image Magick because it’s so
much slimmer (and I only need thumbnailing).
-Danimal
On May 28, 10:53 pm, Richard S. <rails-mailing-l…@andreas-
I am having exactly the same problem. Everything works on my macbook
pro. But on my deployment server I get the same error.
I’m still looking. Hopefully I can find a solution. Like you, I’m
having trouble with RMagick. Plus I like Image Magick because it’s so
much slimmer (and I only need thumbnailing).
-Danimal
On May 28, 10:53 pm, Richard S. <rails-mailing-l…@andreas-
my problem ended up being with my ruby gems path on my server, which can
have many many causes. remember whenever you “require RMagick” that you
capitalize RM, because gems are case sensitive. If you go into your irb,
and type “require rubygems” and then “require RMagick” what do you get??
I am having exactly the same problem. Everything works on my macbook
pro. But on my deployment server I get the same error.
I’m still looking. Hopefully I can find a solution. Like you, I’m
having trouble with RMagick. Plus I like Image Magick because it’s so
much slimmer (and I only need thumbnailing).
-Danimal
On May 28, 10:53 pm, Richard S. <rails-mailing-l…@andreas-
my problem ended up being with my ruby gems path on my server, which can
have many many causes. remember whenever you “require RMagick” that you
capitalize RM, because gems are case sensitive. If you go into your irb,
and type “require rubygems” and then “require RMagick” what do you get??
I’m having the EXACT same problem. Tried everything to get RMagick to
work and I could never get require ‘RMagick’ to work. So, I uninstalled
everything RMagick related and tried to switch to image_science, since
it seems to be more lightweight anyway. but require ‘image_science’
didn’t work
After reading your post I just tried require ‘rubygem’ THEN require
‘image_science’ and it worked! What does this mean though? How can I
get the rubygems in the right path so that all my gems are accessible be
default. Do I need to worry about this with rails? I would think rails
would run similarly to irb and would thus need rubygems included
somehow? I haven’t put my server in production yet (or even deployed my
first rails app) so I haven’t tested anything.
What does “which gem” return? What does “sudo gem list” show? Is REE
in your path?
Try to “su” as the owner of your app and make sure you can load the
gem from there.
We had some issues with passenger, REE, and image_science (gems in
general, really) and it was due to gems existing in the wrong gem
repository.
Actually, turns out the RMagick issue was a path deal. It was looking
in /usr/local/lib instead of /usr/lib (or vice-versa… I can’t
remember now). I ended up just copying the library since this isn’t
even the full deploy server… just a staging server for now.
The real problem is that I can’t get ImageScience to load. AFter a TON
of trial and error, I determined it’s an incompatibility with
ImageScience and Passenger (mod_rails). It worked fine with Mongrel
and with FastCGI. Ahh well. I’ll just use RMagick for now.
-Danimal
On Jul 14, 4:01 pm, Richard S. <rails-mailing-l…@andreas-
What does “which gem” return? What does “sudo gem list” show? Is REE
in your path?
Try to “su” as the owner of your app and make sure you can load the
gem from there.
We had some issues with passenger, REE, and image_science (gems in
general, really) and it was due to gems existing in the wrong gem
repository.