DZone 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

Snippets has posted 5883 posts at DZone. View Full User Profile

Install Rmagick Ubuntu

  • submit to reddit
        let's undo some of the damage (just in case):
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


Snippets Manager replied on Mon, 2010/05/31 - 7:38am

Excellent.. Tharu maru..

Snippets Manager replied on Fri, 2010/09/03 - 10:01am

I also had to do this to install the command-line tools, used by paperclip and some other gems: sudo apt-get install imagemagick

Snippets Manager replied on Thu, 2009/04/23 - 8:28am

Thank you very much for this snippet. Short, sweet, works. Saved me a ton of time and frustration. Thanks!!

Snippets Manager replied on Sun, 2008/10/19 - 4:51pm

Great Work .. you saved my live tonight ;-)