From: Anatol Pomozov Date: 2006-08-03T04:27:35+09:00 Subject: Re: Ruby can't see RMagick installed from gem on FC4 Lance Squire wrote: > ------ > LoadError: no such file to load -- RMagick > from (irb):1:in `require' > from (irb):1 > ------ > > tried the sample script from the 'Users Guide' > ------ > require 'RMagick' > include Magick > > cat = ImageList.new("Cheetah.jpg") > cat.display > exit > ------- > > Results: > ------- > Rmagicktest.rb:1:in `require': no such file to load -- RMagick > (LoadError) > from Rmagicktest.rb:1 > ------- > > Checked locations of Rmagick.so and libMagick.so > > ------- > locate RMagick.so > /usr/lib/ruby/gems/1.8/gems/rmagick-1.13.0/ext/RMagick/RMagick.so > /usr/lib/ruby/gems/1.8/gems/rmagick-1.13.0/lib/RMagick.so > locate libMagick.so > /usr/lib/libMagick.so > /usr/lib/libMagick.so.9 > /usr/lib/libMagick.so.9.0.4 > ------- > > No 'usr/local/lib/ to worry about... > > Any ideas on where to look/ how to fix? > > Thanks, > > Lance F. Squire Try to run following line ruby -rrubygems -e "require 'RMagick'; puts Magick::Long_version;" what do you see?? Also you could read this article - you could find some interesting things about RMagick http://blog.pomozov.info/posts/adventure-with-rmagick-and-mongrel.html -- Posted via http://www.ruby-forum.com/.