Error in paper clip plugin in rails
-
29-09-2019 - |
문제
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
제휴하지 않습니다 StackOverflow