0

rails 3.2 应用程序需要 RMagick gem。

从支持票中,他们说它在私有 PaaS 中。

但是托管在 cloudfoundry.com 本身而不是私有 PaaS 上的应用程序呢?

4

3 回答 3

4

CloudFoundry.com 最近添加了 ImageMagick 二进制文件,这是 RMagick 等库工作所必需的。路径是/var/vcap/packages/imagemagick/bin/。例如,要配置回形针 gem,请将以下内容添加到config/environments/production.rb

Paperclip.options[:command_path] = "/var/vcap/packages/imagemagick/bin/"
于 2012-07-05T22:27:22.597 回答
1

As Glenn has already said in his comment, RMagick has a dependency on the native library ImageMagick and the Cloud Foundry engineering team are currently working on integrating this in to the live environment.

于 2012-06-25T22:06:47.243 回答
0

文档说 cloudfoundry.com 不支持它:http: //docs.cloudfoundry.com/frameworks/ruby/ruby-cf.html

于 2012-06-19T11:50:30.207 回答