aptana studio sh.exe“:gem:命令未找到

时间:2013-04-17 02:38:28

标签: git heroku gem aptana3

我正在使用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的新手,你会如何解决这些错误信息?

1 个答案:

答案 0 :(得分:1)

错误消息fatal: 'heroku' does not appear to be a git repository源于第一个错误gem: command not found

如“-bash is messed up?”中所述,您需要检查PATH,同时确保rubygem已正确安装(如this comment }:rvm install ruby-1.9.3; rvm use ruby-1.9.3:它确实包含rubygems)。