2
我一直在关注轨道上的reInteractive ruby(15分钟的博客),并且在帖子的末尾(第二部分),我使用heroku上传我的文件时出现错误:Ruby on Rails预编译资产失败
! Precompiling assests failed
!Push rejected, failed to compile Ruby app
To [email protected]:peaceful-sea-8032.git
! [remote rejected] master -> master <pre-receive hook declined>
error: failed to push some refs to '[email protected]:peaceful-sea-8032.git'
ps:该应用在localhost上运行良好,我看到一些类似的问题,但我没有成功尝试他们的解决方案。
嗨阿克苏,为感谢帮帮我。 我对此命令进行了预编译:bundle exec rake assets:precompile RAILS_ENV = production然后我尝试提交,但是这个句子出现了:致命的:带-a的路径没有意义,你知道它是什么吗?我做了一个快速搜索,但没有找到解决方案 – SupimpaAllTheWay
“ - ”和“a”之间是否有空白(空白)。 ?请尝试复制粘贴命令。 – ksu
嗯,我不确定我第一次做错了什么,但我重新输入并且现在有效,我还有其他一些问题,但这是所有这个问题,非常感谢你的时间。回头见! =) – SupimpaAllTheWay