Толчок отклонен, почему? - PullRequest
0 голосов
/ 18 января 2019

Это мой проект: https://github.com/NeoXinco/LacerMarket (https://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 голосов
/ 18 января 2019

Проблема в том, что вы используете mail, а не email.

Посмотрите на свою схему (вы должны включить свою схему в будущие сообщения вместо ссылки на ваш github)

  create_table "users", force: :cascade do |t|
    t.string "email", default: "", null: false
    t.index ["email"], name: "index_users_on_email", unique: true
    t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
  end

Приведенная выше ошибка указывает на неправильное имя атрибута.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...