当我尝试将我的应用推送到heroku时,我遇到了错误:
remote: ! Precompiling assets failed.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to svpsample.
remote:
To https://git.heroku.com/svpsample.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/svpsample.git'原因是什么?如何消除这个问题?
发布于 2016-05-20 13:05:40
您需要检查样式表和javascript文件中的错误.The错误不会在开发模式下出现.If您希望在开发模式下查看错误,然后执行rake assets:预编译.You将看到错误,解决这些错误,然后部署项目
https://stackoverflow.com/questions/37337975
复制相似问题