ruby - Installing RMagick Gem -
i wanted gem install rmagick
and got this:
building native extensions. take while... error: error installing rmagick: error: failed build gem native extension. /usr/bin/ruby1.8 extconf.rb extconf.rb:1:in `require': no such file load -- mkmf (loaderror) extconf.rb:1
imagemagick , libmagickwand-dev installed.
using ubuntu linux.
any help?
yours, joern.
use rvm install ruby (preferred) or use apt-get install ruby ruby-dev
aptitude install build-essential imagemagick libmagickcore-dev libmagickwand-dev gem install rmagick
--edit 1--
need ruby-dev (or ruby-full) compiling rmagick before gem install.
Comments
Post a Comment