Installare RMagik è *quasi* sempre un pò doloroso… eccovi la prova:
xnovo /etc: sudo gem update
Updating installed gems
Updating rmagick
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
/opt/ruby-enterprise-1.8.6-20080624/bin/ruby extconf.rb update
checking for Ruby version >= 1.8.2… yes
checking for gcc… yes
checking for Magick-config… yes
checking for ImageMagick version >= 6.3.0… no
Can’t install RMagick 2.7.0. You must have ImageMagick 6.3.0 or later.
Un semplicissimo gem update restituisce un errore (e cioè che ImageMagick non è della versione richiesta). Inutile tentare un apt-get install ImageMagick perché continuerebbe ad installare la stessa versione.
Allora prendiamo la situazione in pugno e cerchiamo di risolverla.
(more…)