heroku push rejected, failed to compile Ruby/rails app

前端 未结 6 1192
醉酒成梦
醉酒成梦 2020-12-13 10:23

Having the following issue, BRAND NEW TO RoR, first time ever trying to upload an app to go live, first had hosting issues, then decided if i could fix them with heroku i wo

6条回答
  •  我在风中等你
    2020-12-13 11:26

    Heroku's asset plugins no longer work since Rails 4 does not support plugins. You need to use Heroku's asset gems instead. Place this in your Gemfile:

    group :production do
      gem 'rails_12factor'
    end
    

    Answer found here: Heroku does NOT compile files under assets pipelines in Rails 4 worked for me

提交回复
热议问题