开发者

Heroku: Rails 3 and rmagick

I'm seeing the following error when trying to upload a photo for cropping on herok开发者_JS百科u with the paperclip plugin.

Paperclip::CommandNotFoundError

I believe I've successfully install rmagick on a rails 3 instance with bamboo as the stack. Why am i seeing this error?

has_attached_file :avatar, :styles => {:large => "600x600>",:small => "100x100#" }, :processors => [:cropper]
   attr_accessor :crop_x,:crop_y,:crop_w,:crop_h
   after_update :reprocess_avatar, :if => :cropping?


There's not a lot of context for this, but how are you uploading/storing the images? Are you using Amazon S3 or some other asset server?

Heroku does not support file storage.

Here is a sample Rails 2.3 app showing usage of Paperclip + S3 on Heroku

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜