I'm trying to use paperclip in rails and when I'm doing the "bundle install" I'm getting the following error:
Can't install RMagick 2.13.1. Can't find Magick-config in /usr/local/mysql/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/Users/seanhinton/.rvm/bin
What I'm wondering is how do I install RMagick (is that what I need?) on my machine (it's OSX 10.6)?
Cheers!
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:
brew install imagemagick
. gem 'rmagick'
to your Gemfile. (in your application root directory) bundle install
. That's it. Note that the imagemagick installer may take a while.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.