便携式 ImageMagick + Windows 上的 Rails 3.0
Where to put files from here
Portable Win32 static at 16 bits-per-pixel. Just copy to your host and
run (no installer, no Windows registry entries).
to use for carrierwave?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了使 ImageMagick 中的可执行文件可用,需要将它们添加到
PATH
变量中(以便convert.exe 和identify.exe 工作)。您可以这样做
,这将确保这些文件在其他文件之前位于 PATH 中。检查上述可执行文件是否需要存在于该目录中,如果它们位于另一个目录(例如 bin)内,则使用该目录。
CarrierWave 和 Paperclip 都将使用 PATH 中的工具,因此首先设置路径,然后启动 Rails 应用程序。
希望有帮助。
For the executables from ImageMagick be usable, they need to be added to the
PATH
variable (so convert.exe and identify.exe work)You can do
Which will ensure these files are in the PATH before others. Check that the above mentioned executables needs to be present in that directory, if they are inside another one (like bin) use that directory instead.
Both CarrierWave and Paperclip will use the tools from the PATH, so set the path first and then start your Rails application.
Hope that helps.