这个应用程序一切正常,现在当我尝试推送到 Heroku 时,我得到了这个:
Counting objects: 28, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (22/22), done.
Writing objects: 100% (22/22), 2.20 KiB, done.
Total 22 (delta 14), reused 0 (delta 0)
/app/slug-compiler/lib/slug.rb:12:in `require': no such file to load -- json (LoadError)
from /app/slug-compiler/lib/slug.rb:12
from /app/slug-compiler/bin/slugc:14:in `require'
from /app/slug-compiler/bin/slugc:14
To git@heroku.com:cold-night-9597.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:server-name-1234.git'
非常奇怪-在任何地方都找不到有关此错误的任何信息-并且在本地运行良好...