【发布时间】:2018-06-14 15:22:39
【问题描述】:
我在 Cloud9 上不断收到此错误:
remote: /tmp/build_3d423dbc0c4cb1831da6664e6804fe37/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to daeshaun-todo-app.
remote:
To https://git.heroku.com/daeshaun-todo-app.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/daeshaun-todo-app.git'
我已经更改了从 sqlite3 到 postsql、捆绑安装、git add、提交和推送的所有内容。我删除了 gemfile.lock。我做错了什么?欢迎提问。
【问题讨论】:
-
@JonasLochmann 你会怎么做?
-
阅读答案,第二个对我有用:stackoverflow.com/questions/19650621/…