我做了git push heroku master
然后我得到了错误
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.example.com
所以我heroku logs --tail
找到了我在下面的问题
enable Logplex by exmaple@mail.com
Release v2 created by example@mail.com
Slug compilation failed: failed to compile Ruby
我不知道如何解决这个问题并推动heroku。需要你的帮助!
答案 0 :(得分:0)
您能否确定已添加
gem 'rails_12factor', group: :production
到您的gem文件并运行
Bundle install
后跟git add .
和git commit -am "something"
再试一次。