Ruby on Rails Rake assets:precompile error

后端 未结 7 1458
-上瘾入骨i
-上瘾入骨i 2020-12-06 00:22

I\'m new in Rails development and this is my first deployment to Heroku. When I execute my application (after the deployment) there is an error:

2011-09-18T2         


        
7条回答
  •  心在旅途
    2020-12-06 00:59

    I got the problem too. But you can

    rake assets:precompile RAILS_ENV=production
    

    in local, and push to heroku with public/assets. It's resolved.

提交回复
热议问题