数据库没有迁移到Heroku(cloud9)

时间:2018-06-14 12:43:07

标签: ruby-on-rails database heroku cloud9

我一直收到错误Cannot run one-off process at this time. Please try again later. 当我尝试heroku在cloud9上的rails上的ruby上运行rake db:migrate。我已经$ git push heroku master而且我使用postgesSQL。发生了什么?

remote:        /tmp/build_34cdeb640ff2f18ebfc3cba992dc4fa0/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

&#39;

0 个答案:

没有答案