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 26
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 96
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 : How to use mephisto

Ask a Rails expert : How to use mephisto

Ask a Rails expert : will_paginate customization problem

Ask a Rails expert : BackgroundRB still wants 'development' environment...?

Ask a Rails expert : activescaffold, sql exception

Ask a Rails expert : Passing non-english chars in query string

Ask a Rails expert : Rails and 2D barcodes

Ask a Rails expert : apache giving proxy error

Ask a Rails expert : Custom Responses w/ 'extra' information...?

Ask a Rails expert : Log rotation in rails

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