I installed imagemagik in the past and was working fine until i reinstalled rails, imagemagik is still installed but when i try to type which convert
to get the path of /usr/local/bin/
i get this error on the command line. My question is how do i fix the path so that when i type which convert
it reads /usr/local/bin/
. Or do i have to reinstall imagemagik which can be a pain at times
command line
'which' is not recognized as an internal or external command,
operable program or batch file.
rails server
Command :: SET PATH=/usr/local/bin/;%PATH% & file -b --mime "C:/Users/Michael/AppData/Local/Temp/5664a0e0a6a4bd4baf3d5e2cecfcad5520170526-26284-1n2fgrk.jpg"
[paperclip] Content Type Spoof: Filename Mario_(Mario_Kart_Wii).jpg (image/jpeg from Headers, ["image/jpeg"] from Extension), content type discovered from file command: . See documentation to allow this combination.
(0.0ms) begin transaction
Command :: SET PATH=/usr/local/bin/;%PATH% & file -b --mime "C:/Users/Michael/AppData/Local/Temp/5664a0e0a6a4bd4baf3d5e2cecfcad5520170526-26284-1w5guoi.jpg"
[paperclip] Content Type Spoof: Filename Mario_(Mario_Kart_Wii).jpg (image/jpeg from Headers, ["image/jpeg"] from Extension), content type discovered from file command: . See documentation to allow this combination.
Aucun commentaire:
Enregistrer un commentaire