views:

115

answers:

0

I have problems installing RMagick on top of Windows. I did as I should according to the instructions:

  1. Downloaded the archive: RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip from here and unzipped to a local folder.
  2. Installed ImageMagick-6.5.6-8-Q8-windows-dll.exe
  3. gem install rmagick-2.12.0-x86-mswin32.gem --local
  4. Even a reboot

Then I followed the example program here

require 'RMagick'
include Magick

cat = ImageList.new("kia.jpg")
cat.display
exit

When I execure I get the below. I have so far been unable to resolve it. Anyone have a solution?

/Nick

C:/Ruby191/lib/ruby/gems/1.9.1/gems/rmagick-2.12.0-x86-mswin32/ext/RMagick2.so: [BUG] Segmentation fault
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]

-- control frame ----------
c:0008 p:-3164866 s:0020 b:0020 l:000019 d:000019 TOP   
c:0007 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC  :require
c:0006 p:0011 s:0014 b:0014 l:000013 d:000013 TOP    C:/Ruby191/lib/ruby/gems/1.9.1/gems/rmagick-2.12.0-x86-mswin32/lib/RMagick.rb:11
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :require
c:0003 p:0023 s:0006 b:0006 l:000dd4 d:000ab4 EVAL   Z:/bin/test_rm.rb:5
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000dd4 d:000dd4 TOP   
---------------------------
-- Ruby level backtrace information-----------------------------------------
C:/Ruby191/lib/ruby/gems/1.9.1/gems/rmagick-2.12.0-x86-mswin32/lib/RMagick.rb:11:in `require'
C:/Ruby191/lib/ruby/gems/1.9.1/gems/rmagick-2.12.0-x86-mswin32/lib/RMagick.rb:11:in `<top (required)>'
Z:/bin/test_rm.rb:5:in `require'
Z:/bin/test_rm.rb:5:in `<main>'

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.