Heroku does not play well with the IMGKit stone, and in order to make the screenshots work, you need to download the compiled version of IMGKit.
https:
bin. IMGKit, .
IMGKit.configure do |config|
config.wkhtmltoimage = Rails.root.join('bin', 'wkhtmltoimage-amd64').to_s if ENV['RACK_ENV'] == 'production'
end