Unable to install RMagick

Hi All,

I am new to rmagick and ruby. I am using ruby 1.8.6 version

Actually i downloaded rmagic2.9.0 win32 version and i unzipped it and i installed imageMagic-6.4.8. Then from command prompt i gave gem update --system.

C:>gem update --system Updating RubyGems Nothing to update

then

C:>gem install rmagick --local ERROR: could not find gem rmagick locally or in a repository

then try giving

C:>gem list --remote --all rmagick

* REMOTE GEMS *

rmagick (2.9.1, 2.9.0, 2.8.0, 2.7.2, 2.7.1, 2.7.0, 2.6.0, 2.5.2, 2.5.1, 2.5.0, 2 .4.0, 2.3.0, 2.2.2, 2.2.0, 2.1.0, 2.0.0, 1.15.17, 1.15.16, 1.15.15, 1.15.14, 1.1 5.13, 1.15.12, 1.15.11, 1.15.10, 1.15.9, 1.15.8, 1.15.7, 1.15.6, 1.15.5, 1.15.4, 1.15.3, 1.15.2, 1.15.1, 1.15.0, 1.14.1, 1.14.0, 1.13.0, 1.12.0, 1.11.1, 1.11.0, 1.10.1, 1.10.0, 1.9.3, 1.9.2, 1.9.1, 1.9.0, 1.8.3, 1.8.2, 1.8.1, 1.8.0, 1.7.4, 1.7.3, 1.7.2, 1.7.1) rmagick4j (0.3.7, 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1)

then

C:>gem install rmagick -win32 -v 2.9.0 Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb

C:>gem install rmagick -win32 -v 2.9.0 Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension.

just a guess, but that should probably rmagick-win32 (ie all one word) rather than rmagick -win32.

Fred

Lakshmi Kaza wrote:

+----------------------------------------------------------------------------+ > This rmagick gem is for use only on Linux, BSD, OS X, and similar systems | | that have a gnu or similar toolchain installed. The rmagick-win32 gem is a | | pre-compiled version of RMagick bundled with ImageMagick for use on | | Microsoft Windows systems. The rmagick-win32 gem is available on RubyForge.| | See http://rmagick.rubyforge.org/install-faq.html for more information. | +----------------------------------------------------------------------------+

http://rmagick.rubyforge.org/install-faq.html#win