开发者

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://rubyfor开发者_StackOverflow中文版ge.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:

  • RUBYGEMS VERSION: 1.3.2
  • RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
  • INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  • RUBY EXECUTABLE: /usr/bin/ruby1.8
  • EXECUTABLE DIRECTORY: /usr/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86-linux
  • GEM PATHS:
    • /usr/lib/ruby/gems/1.8
    • /home/mbm/.gem/ruby/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:
    • http://gems.rubyforge.org/

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


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

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜