Browse the Ruby on Rails Community.

You are here: Forums Ask a Rails expert RMagick issues...

Replytotopic

RMagick issues

Posted in Forums : Ask a Rails expert

 
Profile

Authority 50
Posting Rating 34
Sign in to rate this post

I am having some issues with RMagick.

When I start my Mongrel instance I get this error:

`gem_original_require’: no such file to load—RMagick

Rmagick is installed on the server and working.
I can execute the following from the command line:

ruby -rrubygems -e "require 'RMagick'; puts Magick::Long_version;"

Which returns: This is RMagick 2.3.0 ($Date: 2008/03/29 15:23:12 $) Copyright© 2008 by Timothy P. Hunter Built with ImageMagick 6.3.2 05/06/08 Q8 http://www.imagemagick.org Built for ruby 1.8.5 Web page: http://rmagick.rubyforge.org Email: rmagick@rubyforge.org

 
Profile

Authority 12
Posting Rating 98
Sign in to rate this post

I had a similar experience when I upgraded the ImageMagick package on my server. You need to recompile RMagick if you do that.

Try “sudo gem install RMagick” even if it’s already there, it will at least force it to recompile.

What platform are you using?

Does it work in irb?

$ irb
 require 'rubygems'
=> false
require 'RMagick'
=> true

Replytotopic

Other Recent Topics

Ask a Rails expert : Tracking down an issue

Ask a Rails expert : Thread Vs Transaction

Ask a Rails expert : implementing whitelist plugin

Ask a Rails expert : Validation helper

Ask a Rails expert : FILE EDIT/DELETE

Ask a Rails expert : decrypting the password

Ask a Rails expert : Static Objects in Rails

Ask a Rails expert : Newbie - Rake Cant Execute Test

Ask a Rails expert : Call Web service

Ask a Rails expert : RMagick issues

Formatting Help
  • *bold*       _italics_      
    bq. (quotes)
  • "DSC":http://www.dsc.net
  • * or # (lists)
or cancel