我不能做heroku推。铁轨上的红宝石

时间:2016-03-20 08:58:02

标签: ruby-on-rails heroku

我做了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。需要你的帮助!

1 个答案:

答案 0 :(得分:0)

您能否确定已添加

gem 'rails_12factor', group: :production

到您的gem文件并运行

Bundle install

后跟git add .git commit -am "something"

再试一次。