1. sudo apt-get install p_w_picpathmagick2. sudo apt-get install libmagick9-dev3. sudo gem install rmagick 转载于:https://blog.51cto.com/andyss/172516