我正在使用aptana studio 3.
我正在创建一个名为UBDTCE
的应用
我想运行Web部署向导登录到我的heroku帐户,它会询问是否安装heroku gem
然后我收到一条错误消息:
$ gem install heroku && heroku create UBDTCE
sh.exe": gem: command not found
或
$ gem install heroku && heroku create UBDTCE; git push heroku master
sh.exe": gem: command not found
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我是这个git的新手,你会如何解决这些错误信息?
答案 0 :(得分:1)
错误消息fatal: 'heroku' does not appear to be a git repository
源于第一个错误gem: command not found
如“-bash
is messed up?”中所述,您需要检查PATH
,同时确保ruby
和gem
已正确安装(如this comment }:rvm install ruby-1.9.3; rvm use ruby-1.9.3
:它确实包含rubygems
)。