ruby

Gems

Useful commands:

# show gem installation path
gem environment

"This installation of RMagick was configured with ImageMagick..." error

Gems installed by gem are compiled against current shared libraries on the system. When a library is upgraded, the gem stops working and requires recompilation. Recompiling simpy consists of reinstalling the gem:

gem uninstall rmagick
gem install rmagick

Note that it might be necessary to run gem uninstall multiple times until it outputs

INFO:  gem "rmagick" is not installed