推送被拒绝,为什么?

时间:2019-01-17 22:07:16

标签: ruby-on-rails heroku

这是我的项目:https://github.com/NeoXinco/LacerMarkethttps://lacermarketcorso.herokuapp.com/

更新错误!

git push heroku master

remote: -----> Preparing app for Rails asset pipeline
remote:        Running: rake assets:precompile
remote:        Yarn executable was not detected in the system.
remote:        Download Yarn at https://yarnpkg.com/en/docs/install
remote:        rake aborted!
remote:        Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks' with type 'application/javascript'

remote:        Tasks: TOP => assets:precompile
remote:        (See full trace by running task with --trace)
remote:
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 lacermarketcorso.
remote:
To https://git.heroku.com/lacermarketcorso.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/lacermarketcorso.git

1 个答案:

答案 0 :(得分:0)

问题是您使用的是Column,而不是mail

查看您的架构(您应该在以后的文章中包括您的架构,而不是指向github的链接)

email

上面的错误表明属性名称不正确。