Could not open library ‘libgtkmm-2.4.so’: libgtkmm-2.4.so: cannot open shared object file: No such file or directory.

Problem

If you have setup guard with your Rails project and you are trying to run it in an (K)Ubuntu installation you get the following message:

Solution

Install the missing library with the following:

ImageMagick, RMagick, Kubuntu

Problem

You want to use the rmagick gem in your rails application after a new (K)ubuntu system installation, but the bundler command gives you errors.

 

Solution

Install the following before running budler again: