首页 文章

我've just installed Heroku and I' m初次登录时遇到问题

提问于
浏览
0

6.8,我've just updated RubyGems and updated git, etc. I'刚开始使用Heroku并且我第一次尝试登录,这是我输入 Heroku login 后得到的错误屏幕:

!    Heroku client internal error.
 !    Search for help at: https://help.heroku.com
 !    Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       No such file or directory - git --version (Errno::ENOENT)
Backtrace:   /usr/local/heroku/lib/heroku/git.rb:41:in ``'
             /usr/local/heroku/lib/heroku/git.rb:41:in `git_version'
             /usr/local/heroku/lib/heroku/git.rb:8:in `check_git_version'
             /usr/local/heroku/lib/heroku/cli.rb:36:in `start'
             /usr/bin/heroku:24:in `<main>'

Command:     heroku login
Version:     heroku-toolbelt/3.22.0 (x86_64-darwin10.8.0) ruby/1.9.3

有什么想法吗?谢谢 .

1 回答

  • 0

    看起来像没有安装git . 试着跑

    git --version
    

    要不就

    git
    

    从您的终端/命令提示符,看看它是否返回一些东西 . 如果没有,比你的环境找不到git .

    尝试重新安装它或尝试更新您的环境PATH var

相关问题