Rails、rmagick 和 webfaction
我在 webfaction 上加载 imagemagick 和 rmagick 时遇到问题。
我安装了一个名为 Balderapp 的 Rails 应用程序,用于组织图像。
我似乎无法通过balder上传图像。
Balder 使用 imagemagick 和 rmagick
当我使用控制台时,
并执行此操作,我得到一个 nill 作为返回,这让我认为 rmagick 无法正常工作irb(main):003:0>需要“RMagick” =>无
thx
sg
I am having a problem loading imagemagick and rmagick on webfaction.
I have installed a rails app called Balderapp that organizes images.
I can't seem to upload the image through balder.
Balder uses imagemagick and rmagick
when i use the console and do this I get a nill as a return making me think rmagick is not working
irb(main):003:0> require 'RMagick'
=> nil
thx
sg
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一般步骤是:
详细步骤可在 WebFaction 安装 ImageMagick 和 RMagick 的过程。
The general steps are:
Detailed steps are available in WebFaction's procedure for installing ImageMagick and RMagick.
在 Web 派系中,请确保您位于正确的文件夹
cd $HOME/webapps/app
app 是您的应用程序的名称。确保 rmagick gem 已安装在 ./bin/irb 中的
./bin/gem list
那么这应该可以工作:如果您使用的是 ruby 1.8.* 那么不要忘记执行
require '红宝石'
On Web faction make sure your are in the correct folder
cd $HOME/webapps/app
app is the name of your app. Make sure the rmagick gem is installed./bin/gem list
in ./bin/irb then this should work:
if you are using ruby 1.8.* then do not forget to do the
require 'rubygems'