RMagick + Rails + Heroku?

后端 未结 6 766
滥情空心
滥情空心 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:42

    You should just need to add a require statement in whatever class. It's case sensitive!

    mike@sleepycat:~/projects/myapp$ heroku console --app myapp
    Ruby console for myapp.heroku.com
    >> require 'RMagick'
    => []
    >> include Magick
    => Object
    

    I don't have that in my .gems file or anything, and there it is in my console, so it seems that it is just there by default.

提交回复
热议问题