[英]Install ImageMagick for paperclip gem in windows
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'll need to have ImageMagick installed on your server. 我按照该指南使用了回形针http://railscasts.com/episodes/134-paperclip?language=zh-CN&view=asciicast没关系,但是请注意,要重新调整大小,您需要在服务器上安装ImageMagick。
So how should i install ImageMagick ?? 那么我应该如何安装ImageMagick? i have WINDOWS 8 and on the site http://www.imagemagick.org/ download does not work!!!! 我有WINDOWS 8,并且在站点http://www.imagemagick.org/上无法下载!
It certainly works - you need to make sure of 2 things: 它当然可以工作-您需要确保以下两项:
-dll
version - as Paperclip needs to call the executable directly. 并且您需要下载静态版本-而不是-dll
版本-因为Paperclip需要直接调用可执行文件。 (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...) (当然,我确定您知道下载安装程序文件不会为您安装它,对吗?也就是说,您需要打开文件才能开始安装...) UPDATE 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. 只是注意到链接已断开:)它们仍然指向较早的6.8.5-6版本,此版本已移至旧版。 You can get the latest binaries from here . 您可以从此处获取最新的二进制文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.