安装Rmagick Posted on 2011-07-14 In Rails , Ruby 首先下载imagemagick, 进入安装目录 cd imagemagick ./configure --prefix=/opt/imagemagick make sudo make install 如果出现 /usr/bin/ld: cannot find -lperl 请安装 sudo apt-get install libperl-dev