Install ImageMagick for paperclip gem in windows

后端 未结 1 787
渐次进展
渐次进展 2021-01-15 04:09

I followed this guide to use paperclip http://railscasts.com/episodes/134-paperclip?language=en&view=asciicast it is all ok but note that to enable resizing you’

相关标签:
1条回答
  • 2021-01-15 04:27

    It certainly works - you need to make sure of 2 things:

    • You install the correct static version for your OS (32-bit vs 64-bit). The 32-bit (x86) will work regardless, the 64-bit (x64) will only work on a 64-bit system. And you need to download the static version - not the -dll version - as Paperclip needs to call the executable directly. (Of course, I'm sure that you knew that downloading the installer file isn't going to install it for you, right? That is, you need to open the file to start the installation...)
    • You add the bin directory to your environment path. The installer should do this for you, unless you unchecked that option.

    UPDATE

    Just noticed that the links are broken :) They still point to the older 6.8.5-6 version that have since been moved to legacy. You can get the latest binaries from here.

    0 讨论(0)
提交回复
热议问题