Problems installing RMagick with Paperclip in Rails 3

◇◆丶佛笑我妖孽 提交于 2019-12-06 02:14:43

RMagick is a ruby adapter for ImageMagick. Getting ImageMagick is a huge pain, and it doesn't come on your computer by default. Here's the easiest way to get it:

  1. Get Homebrew (Mac OS Package Manager).
  2. In terminal, run brew install imagemagick.
  3. Now add gem 'rmagick' to your Gemfile. (in your application root directory)
  4. Finally, in terminal, run bundle install.

That's it. Note that the imagemagick installer may take a while.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!