RMagick + Rails + Heroku?

后端 未结 6 763
滥情空心
滥情空心 2021-01-31 05:46

I\'m trying to figure out how to get rmagick on my app, and then make it work on Heroku?

6条回答
  •  温柔的废话
    2021-01-31 06:39

    Once I did the following from capps answer.

    gem "rmagick", "2.12.0", :require => 'RMagick'
    

    Then I added the require statement to any file uses rmagick it fixed my issue.

    require 'RMagick'
    

    This worked on Heroku cedar stack running rails 3.1

提交回复
热议问题