using ImageMagick+ paperclip with rails3 on MacOS
- Download Imagemagick binaries from here
- open a terminal and run ‘tax xvzf ImageMagick-x.x-x’
- You will now have the untarred file, but not in the right location. I suggest installing it in /usr/local/imagemagick. So from your shell, do ‘sudo mkdir /usr/local/imagemagick’. This assumes that you are in the sudoers list
- You will need to update your path so that the binaries are picked up. If you are using bash, go to your home directory and open .bashrc, and add this line:
export PATH=/usr/local/imagemagick/bin:${PATH}
Paperclip.options[:command_path] = "DYLD_LIBRARY_PATH='/usr/local/imagemagick/lib' /Users/sram/Downloads/ImageMagick-6.6.5/bin" Paperclip.options[:magick_home] = '/usr/local/imagemagick'
-
Categories
-
Calendar
May 2013 M T W T F S S « Apr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta





