I would like to use the RMagick gem on an Ubuntu 10.04 server. This is easy to do system-wide using the Ubuntu package librmagick-ruby1.8
, but I would like to install the gem in a private location using gem install
(or Bundler). Unfortunately, this results in the error
Failed to build gem native extension.
unless the package libmagickcore-dev
is installed. A Google or Stackoverflow search for "rmagick ubuntu" leads to lots of people suggesting installing various packages that result in this one getting installed. The problem with this solution is that installing that package also brings in the entire X Windows System as a dependency, which is obviously not desirable on a server.
This should be a common problem. So I am wondering whether anyone has found a solution that does not require X. Thanks for your help!