Friday, December 3, 2010

RMagick 2.12.0 (ImageMagick 6.5.6-8) Win32 Installation

Prerequisites

  • Ruby 1.8.6, installed via the One-Click Installer. Other builds of 1.8.6 may work if they were built with a compatible compiler. This gem was built using Microsoft's Visual C++ 2008 Express Edition.
  • RubyGems

Installation instructions

Gem Install

In order to be reading this file, you've already downloaded the zip file and unzipped it into a temporary directory. Double-click the ImageMagick installer (ImageMagick-6.5.6-8-Q8-windows-dll.exe) found in the temporary directory. The only option that you need to choose from the installation options is "Update executable search path." The other options are up to you. Do not use any other version of ImageMagick. RMagick will not run if you install any other version of ImageMagick.
Make sure RubyGems is up-to-date. If you are using an older version, update it now. Enter the command
  • gem update --system
Installing the gem is very simple. Start a Command Prompt window. Use the chdir command to make the temporary directory that contains the unzipped files the current directory. Enter this command:
  • gem install rmagick --local
You should see:
  • Successfully installed rmagick-2.12.0-x86-mswin32
If instead you get the message
  • Error installing gem rmagick[.gem]: buffer error
then you didn't update RubyGems. Do so now and re-run the gem install command.

No comments:

Post a Comment