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

06.13.2007
| 48763 views |
  • 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
    

Comments

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

Excellent.. Tharu maru..

Snippets Manager replied on Fri, 2010/09/03 - 11: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 - 9: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 - 5:51pm

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