I have installed all the dev files (sudo apt-get install libmagick++-dev libmagickcore-dev libmagickwand-dev
) as well as the gem itself (gem install rmagick
), and everything installed just fine, no compilation or installation errors in either steps.
The problem occurs whenever I actually require 'rmagick'
:
ruby-1.9.2-p290 :001 > require 'rmagick'
LoadError: no such file to load -- rmagick
from /home/marfay/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/marfay/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from (irb):1
from /home/marfay/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>'
I have tried numerous ruby installs of different version on rvm, as well as system installs using aptitude, everything failed at require
with the same error message.
Any guidance greatly appreciated!
Try
RMagick
instead ofrmagick
: