简体   繁体   English

回形针宝石错误-Ruby on Rails

[英]Paperclip gem bug - Ruby on Rails

I tried building a simple recipe app, however I can't manage to fix one bug: 我尝试构建一个简单的食谱应用程序,但是无法解决一个错误:

在此处输入图片说明

I tried installing ImageMagick 6.9.1-0 for Mac OS X 10.5 – 10.10. 我尝试为Mac OS X 10.5 – 10.10安装ImageMagick 6.9.1-0。

However my mac uses OS X EL CAPITAN 10.11.1 and couldn't manage to get it working. 但是,我的Mac使用OS X EL CAPITAN 10.11.1,无法使其正常运行。

I also read that it's not safe to use it anymore . 我还阅读到, 现在不再安全使用它

What would you suggest? 你有什么建议? Are there any alternatives? 还有其他选择吗?

Use Homebrew to install ImageMagick. 使用Homebrew安装ImageMagick。

First install Homebrew. 首先安装Homebrew。 Open up a terminal window and run: 打开一个终端窗口并运行:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then, ask it to install ImageMagic properly on your system: 然后,要求它在您的系统上正确安装ImageMagic:

brew install imagemagick

And you have a working copy of ImageMagic. 并且您有ImageMagic的工作副本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM