Heroku: Running imagemagick with paperclip

后端 未结 3 1614
长情又很酷
长情又很酷 2020-12-24 08:12

I have installed image magick on my mac os x computer and now I want to deploy it to heroku. I\'ve installed the the paperclip plugin on heroku but I get this error when upl

3条回答
  •  独厮守ぢ
    2020-12-24 08:47

    Do you have the RMagick gem included in your app on Heroku? It's necessary for interfacing between your Ruby code and ImageMagick.

    ImageMagick is part of the Heroku platform by default, but you have to specify that you need the RMagick gem for your app. I'm guessing you have this installed locally so it works there, but it's missing from your Gemfile or gems manifest (depending on Heroku stack version).

提交回复
热议问题