ubuntu 安装rmagick

$ sudo apt-get install imagemagick
$ sudo apt-get update
$ sudo apt-get install libmagick9-dev ruby1.8-dev
$ gem install rmagick
If you install failed, please run this command,and re-install
$ sudo apt-get remove --purge libmagick9-dev

你可能感兴趣的:(ubuntu)