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.

-Chris

On Feb 14, 4:33 am, Tod Mcintyre <[email protected]>
wrote:
> Richard Schneeman wrote:
>
> > Danimal wrote:
> >> Richard,
>
> >> 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 Schneeman <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.
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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