How to get Gruff working with Rails on windows
24 10 2007NOTE: You can’t do gem install rmagick on windows since (as of now) rmagick gem is only for *nix systems
1) Download rmagick-win32 from http://rubyforge.org/frs/?group_id=12&release_id=15197
This also has imagemagick for 8 pixels so you don’t need to do a separate download for imagemagick. If you want imagemagick for 16 pixels then download it from here http://www.imagemagick.org/script/binary-releases.php
Imagemagick site says ‘16 bitversion permits you to read or write 16-bit images without losing precision but requires twice as much resources as the Q8 version.’
3) Install Imagemagick
To confirm if imagemagick is installed properly go to your command prompt and type
convert logo: logo.gif identify logo.gif imdisplay logo.gif
this should display the imagemagick logo if everything was ok
4) Go to your command prompt and run gem update --system
5) Go the directory where you unzipped the downloaded rmagick-win32 file
6) Run gem install rmagick --local
after it is installed successfully then you should see
Successfully installed rmagick, version 1.15.9
7) Either run gem install gruff
OR
to use rails plugin. Go to your app root directory and run
ruby script/plugin install http://topfunky.net/svn/plugins/gruff
And you are done…
Sign up and be a part of SPhred.com and don’t forget to invite your friends ;o)
Comments : 1 Comment »
Tags : gruff, imagemagick, rails, rmagick, windows
Categories : Ruby On Rails






