Clifford Heath
6/2/2006 1:33:00 AM
Tim Hunter wrote:
> Glad you're up and running.
Not quite. After changing "require 'RMagick'" to
require 'rubygems'
require_gem 'RMagick-win32'
(it's a shame that rubygems can't just extend 'require')...
I get a dialog saying "ruby.exe - Unable to locate Component" and
"This application has failed to start because libbz2.dll was not found".
The gem requires this DLL but doesn't provide it. Should it?
I can obviously update my Ruby version, except that this is the
version that we use in our standard build environment.
> I wonder if the problem has something to do
> with using a version of zlib to unzip a file that is older than the
> version is was zipped with? Ruby 1.8.2, for which this RMagick gem was
> built, has ZLIB::VERSION 1.2.1.
Again, it's probably a Ruby version issue. However we can't always
expect everyone to have the most recent version, we should be careful
with forwards and backwards compatibility... I've had these kinds of
problems with Perl also, being stuck at an old version because we use
perl2exe, but the PPM repository doesn't bother keeping packages that
work with the old version... sigh.