Installing rmagick on Windows

Prerequisites:
Ruby > 1.8.6
DevKit (any version)
No other ImageMagick installation or PATH entry

Step 1:
Installing ImageMagick:

Download ImageMagick:

http://www.imagemagick.org/download/binaries/ImageMagick-6.7.0-5-Q16-windows-dll.exe

Install ImageMagick:
*Important: The installation path should NOT contain any spaces. Ideally select “C:\ImageMagick-6.7.0-Q16″

Please make sure to select the below options:

Step 2:
Installing rmagick:

Use the following command to install rmagick gem:

gem install rmagick --version=2.12.2 --platform=ruby -- --with-opt-lib=c:/ImageMagick-6.7.0-Q16/lib --with-opt-include=c:/ImageMagick-6.7.0-Q16/include

Most of the rmagick components have no documentation. So don’t worry about the “no rdoc”/”no ri” warnings.

Happy coding !!!

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine

About these ads

Leave a comment

Filed under Ruby, Ruby on Rails, Windows

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s