ashisrai_
ashisrai_

Reputation: 6568

no such file to load -- rmagick

I have following -

Gem Version - 1.3.2

Ruby Version - ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

Rails Version - Rails 2.3.5

========================

rmagick (2.13.1, 2.10.0)

Authors: Tim Hunter, Omer Bar-or, Benjamin Thomas
Rubyforge: http://rubyforge.org/projects/rmagick
Homepage: http://rubyforge.org/projects/rmagick
Installed at (2.13.1): /usr/lib/ruby/gems/1.8
             (2.10.0): /usr/lib/ruby/gems/1.8

Ruby binding to ImageMagick

I have recently update ImageMagick to ImageMagick 6.6.3-10

RubyGems Environment:

I really wonder why this error is coming. Thanks in advace.

Upvotes: 0

Views: 4035

Answers (2)

ashisrai_
ashisrai_

Reputation: 6568

This installation of RMagick was configured with ImageMagick 6.6.3 but ImageMagick 6.4.5 is in use

Solution is error message which I couldn't see at very time. 1. Reactivate ImageMagick 6.6.3 (remove 6.4.5) 2. Keep 6.4.5 and install rmagick again.

Thanks guys for your inputs.

Upvotes: 0

vise
vise

Reputation: 13393

Don't use lowercase ('rmagick'). The correct form is:

irb(main):002:0> require 'RMagick'
=> true

Upvotes: 2

Related Questions