Error in paper clip plugin in rails
-
29-09-2019 - |
Question
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
Solution 3
Removing this line worked for me.
Paperclip.options[:command_path] = "/opt/local/bin"
OTHER TIPS
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow