[英]Errno::ENOENT: No such file or directory @ rb_sysopen - /tmp/
[英]Rake Aborted when pushing to Heroku - Errno::ENOENT: No such file or directory @rb_sysopen - /tmp/build/config/application.yml
我试图推送到Heroku并收到以下错误:
remote: -----> Detecting rake tasks
remote: sh: 2: Syntax error: Unterminated quoted string
remote: sh: 2: Syntax error: Unterminated quoted string
remote: !
remote: ! Could not detect rake tasks
remote: ! ensure you can run `$ bundle exec rake -P` against your app
remote: ! and using the production group of your Gemfile.
remote: ! rake aborted!
remote: ! Errno::ENOENT: No such file or directory @ rb_sysopen - /tmp/build_0ea6e71e6fa31065be1c41a3cb6aaacb/config/application.yml
运行bundle exec rake -P
可以正常工作。
application.yml是我的.gitignore的一部分,所以我很困惑为什么错误消息与此文件有关,以及为什么它阻止了我推送到Heroku。
有任何想法吗?
原来这是一个愚蠢的错误,但是如果对其他人有用,请在此处发布-我将错误的分支推到了heroku。 一旦我更正了分支名称,它就可以正常工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.