Kaspar Schiess
11/29/2004 4:08:00 PM
paul.rogers@shaw.ca (Paul) wrote in news:4ee21163.0411290705.1d0e75b1
@posting.google.com:
> Im very confused by whats happening with rmagic and rubygem. Now, Im
> the first to admit that i didnt read much in the way of the
> installation instructions.
Hello Paul,
There seems to be an interaction between new rubygem code and an old gem:
The only sequence that really works good is
require 'rubygems'
require 'rmagick'
or more simply
in the shell:
set RUBYOPT=rubygems
in the script:
require 'rmagick'
Any combination of require_gem will fail, since the gem seems not to
respond properly to version questions.
There is code to assure backwards compatibility with gems that are not
compiled using the latest version of rmagick, but that code seems to be
broken.
Hope the above works for you.
kaspar
hand manufactured code - www.tua.ch/ruby