# Rmagick for Ruby 1.8.6 won't work for Ruby 1.8.7?

**URL:** <https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112>\
**Category:** Ruby\
**Created:** [July 24, 2010, 12:18am UTC](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112 "2010-07-24T00:18:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![winterheat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Post date:** [July 24, 2010, 12:18am UTC](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112/1 "2010-07-24T00:18:05Z")

</div>

if i install

2.12.0 binary gem for Ruby 1.8.6 2009-10-04 16:05  
RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip

which is from [http://rubyforge.org/frs/?group\_id=12&release\_id=43232](http://rubyforge.org/frs/?group_id=12&release_id=43232)

then when i use ruby 1.8.7 to

require ‘rubygems’  
require ‘rmagick’

it will say:

c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_re quire': no such file to load -- rmagick (LoadError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re  
quire’  
from try.rb:3

Does that mean I have to install Ruby 1.8.6 to cover up 1.8.7 in order  
to use rmagick?

---

<div class="post-metadata">

**Author:** ![winterheat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Post date:** [July 24, 2010, 1:24am UTC](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112/2 "2010-07-24T01:24:46Z")

</div>

oh well, i set up a new XP SP3 virtual machine,

installed

Ruby 1.8.6 patch 398

and installed

2.12.0 binary gem for Ruby 1.8.6 2009-10-04 16:05

the same thing happened:

irb(main):001:0\> require ‘rubygems’  
=\> true

irb(main):002:0\> require ‘rmagick’  
LoadError: no such file to load – rmagick  
from  
c:/Ruby186/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_require' from c:/Ruby186/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`require’  
from (irb):2

Then, I even installed Ruby 1.8.6-p26 legacy installer

and similar things happened. oh well… rmagick seems to be fairly  
broken or some change need to make it work?

---

<div class="post-metadata">

**Author:** ![winterheat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Post date:** [July 24, 2010, 1:36am UTC](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112/3 "2010-07-24T01:36:22Z")

</div>

On Fri, Jul 23, 2010 at 4:24 PM, winter heat [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> irb(main):002:0\> require ‘rmagick’  
> LoadError: no such file to load – rmagick

According to the docs, you must require ‘RMagick’… note the capital  
R and M. I don’t know if that makes a difference on windows, but it’s  
something to try.

Ben

---

<div class="post-metadata">

**Author:** ![winterheat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Post date:** [July 24, 2010, 1:39am UTC](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112/4 "2010-07-24T01:39:07Z")

</div>

ok, i don’t know whether it is required to run the .exe in the rmagick  
distribution, but there needs to be one step:

cd to the path of the unzipped rmagick files  
gem install rmagick --local

and then

require ‘rmagick’

will works

---

<div class="post-metadata">

**Author:** ![winterheat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Post date:** [July 24, 2010, 2:33am UTC](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112/5 "2010-07-24T02:33:46Z")

</div>

Luis L. wrote:

> On Jul 23, 7:18ï¿½pm, winter heat [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > ï¿½ require ‘rmagick’
> > 
> > Does that mean I have to install Ruby 1.8.6 to cover up 1.8.7 in order  
> > to use rmagick?
> 
> No, the require is case-sensitive, needs to be:
> 
> require ‘RMagick’

strange, i am using ‘rmagick’ and it works too.

---

<div class="post-metadata">

**Author:** ![winterheat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Post date:** [July 24, 2010, 2:10am UTC](https://www.ruby-forum.com/t/rmagick-for-ruby-1-8-6-wont-work-for-ruby-1-8-7/192112/6 "2010-07-24T02:10:19Z")

</div>

On Jul 23, 7:18 pm, winter heat [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> require ‘rmagick’
> 
> Does that mean I have to install Ruby 1.8.6 to cover up 1.8.7 in order  
> to use rmagick?

No, the require is case-sensitive, needs to be:

require ‘RMagick’
