Installing RMagick on Ubuntu
Posted by James | Filed under Code, Geek, Linux, Web
![]()
Here’s a very quick and easy way to install the RMagick Ruby gem to do some cool image manipulation and thumbnail management.
Install imagemagick & libraries
First install imagemagick on Ubuntu:
Check it’s installed:
Now install libmagick9-dev, making sure you choose the corresponding version for imagemagick *IF* asked (but you shouldn’t be):
Install Gem
Now the easy bit (and more stressful), installing the Ruby Gem:
After which you should see:
Include in your Ruby App
Now let’s use it, by adding to your controller/application_controller.rb:
Tada! Your ready to rock!
Tags: install rmagick, rails, rmagick, ruby, ubuntu





