知道什么可能导致以下错误吗?
sinan@ThinkPad-X1-Carbon:~/dev/heroku/kumbaraci50$ git push heroku master
Counting objects: 4390, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2419/2419), done.
Writing objects: 100% (4390/4390), 4.11 MiB | 79.00 KiB/s, done.
Total 4390 (delta 1552), reused 4338 (delta 1520)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Scala app detected
remote:
remote: gzip: stdin: unexpected end of file
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote:
remote: ! Push rejected, failed to compile Scala app
remote:
remote: Verifying deploy....
remote:
remote: ! Push rejected to kumbaraci50-tiyatrosever.
remote:
To https://git.heroku.com/kumbaraci50-tiyatrosever.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/kumbaraci50-tiyatrosever.git'
我几天前能够推送这个应用程序没有问题,但是我的本地包装更新可能有些变化。 有没有办法在部署应用程序时增加日志记录的详细程度?
此应用程序在Java 1.8.0_45上使用Scalatra框架2.3和scala版本2.11.1。
答案 0 :(得分:0)
检查您的LANG
配置var是否未设置为" tr_TR.UTF-8"。您可以通过运行确认:
$ heroku config:unset LANG
某些LANG值会导致Heroku出现证书错误。相反,您可以通过运行此代码来使用-Dfile.encoding
:
$ heroku config:set JAVA_OPTS="-Dfile.encoding=tr_TR.UTF-8"
希望有所帮助。