------ art_20068_1374285.1149428550494
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I've read about some packages that return false when they are require'd
through rubygem's special version of require, and I think I understand the
issue well enough. But this behavior has me confused anew...
Included are the transcripts from two separate irb sessions where I attempt
to require RMagick. Apparently the only way I can get the library loaded is
by require'ing it twice but switching the case of the first two letters
between calls to require.
Thanks in advance for any help with this,
John Emerson Conrad
$ ruby -v
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.5.0]
[FIRST SESSION]
$ irb
irb(main):001:0> require 'rubygems'
true
irb(main):002:0> require 'RMagick'
false
irb(main):003:0> Magick
NameError: uninitialized constant Magick
from (irb):3
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/specification.rb:227
irb(main):004:0> require 'rmagick'
true
irb(main):005:0> Magick
Magick
irb(main):006:0> exit
[SECOND SESSION]
$ irb
irb(main):001:0> require 'rubygems'
true
irb(main):002:0> require 'rmagick'
false
irb(main):003:0> require 'RMagick'
true
------ art_20068_1374285.1149428550494--