install rmagick ubuntu
sudo apt-get remove --purge librmagick-ruby-doc librmagick-ruby1.8
Next let's get the version we need:
sudo apt-get install libmagick9-dev ruby1.8-dev
Lastly, go grab rmagick, the gem
sudo gem install rmagick
DZone Snippets > caffo > ubuntu
12390 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
sudo apt-get remove --purge librmagick-ruby-doc librmagick-ruby1.8
sudo apt-get install libmagick9-dev ruby1.8-dev
sudo gem install rmagick