Heroku building app fail: error to load gem 'graphicsmagick'

笑着哭i 提交于 2020-06-18 13:10:21

问题


when I push my rails app to heroku it always fails. On the stage "Build App" the logs show me following message:

checking for gm... no ! rake aborted! ! Bundler::GemRequireError: There was an error while trying to load the gem 'graphicsmagick'.

I have required this gem in the Gemfile and I don't know why building app on heroku always fails. Local running and running on CircleCI are ok. Did someone have similar issue?

Please let me know what I've missed. Thank you.


回答1:


Do you have the graphicsmagick Buildpack included? Go to the settings tab on Heroku dashboard and add this url to your buildpacks: https://github.com/mcollina/heroku-buildpack-graphicsmagick.git



来源:https://stackoverflow.com/questions/39212358/heroku-building-app-fail-error-to-load-gem-graphicsmagick

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!