首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >尝试将Rails推送到heroku时突然出现Git错误

尝试将Rails推送到heroku时突然出现Git错误
EN

Stack Overflow用户
提问于 2016-05-20 12:30:48
回答 1查看 156关注 0票数 0

当我尝试将我的应用推送到heroku时,我遇到了错误:

代码语言:javascript
复制
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'

原因是什么?如何消除这个问题?

EN

回答 1

Stack Overflow用户

发布于 2016-05-20 13:05:40

您需要检查样式表和javascript文件中的错误.The错误不会在开发模式下出现.If您希望在开发模式下查看错误,然后执行rake assets:预编译.You将看到错误,解决这些错误,然后部署项目

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37337975

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档