문제

  Image Paperclip::CommandNotFoundError

I am getting this error. Installed Image magick, rmagic both specified path in developement.rb

Paperclip.options[:command_path] = "/opt/local/bin" 

Using Snow Leapord

도움이 되었습니까?

해결책 3

Removing this line worked for me.

 Paperclip.options[:command_path] = "/opt/local/bin" 

다른 팁

check logs to see which command failed. probably it looks for other complementary executables not present in your custom path. for example paperclip also needs 'identify' command, provided with imagemagick. so be sure to have all executables you need.

Try putting the Paperclip.options[:command_path] in a file in config/intializers

make sure you have RMagick installed

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top