首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GIT / RubyMine (豹)-不能拉,但我可以提交和推送

GIT / RubyMine (豹)-不能拉,但我可以提交和推送
EN

Stack Overflow用户
提问于 2010-09-23 14:22:59
回答 2查看 1K关注 0票数 1

我有个奇怪的问题

我的系统是雪豹(10.6.4) -我不能从我的RubyMine拉取,但我可以提交和推送。最好的是,当我运行终端并输入"git pull“时,它工作得很好。

在ruby mine控制台中有一些错误:

代码语言:javascript
复制
/usr/local/git/libexec/git-core/git-sh-setup: line 71: basename: command not found
/usr/local/git/libexec/git-core/git-sh-setup: line 71: sed: command not found
/usr/local/git/libexec/git-core/git-sh-setup: line 202: uname: command not found
From git.xxx.xxx
 * branch            yly        -> FETCH_HEAD
/usr/local/git/libexec/git-core/git-pull: line 251: sed: command not found
/usr/local/git/libexec/git-core/git-pull: line 251: tr: command not found
There are no candidates for merging among the refs that you just fetched.
Generally this means that you provided a wildcard refspec which had no
matches on the remote end.

我不知道如何解决这个愚蠢的问题。有什么想法吗?感谢你的帮助

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2010-09-23 16:56:05

谢谢,伙计!这是环境变量的问题。以下是解决方案:

http://devnet.jetbrains.net/docs/DOC-1160

票数 1
EN

Stack Overflow用户

发布于 2010-09-23 14:49:28

显然,你的rubymine控制台中缺少环境变量,所以它找不到这些可执行文件(sed、uname等)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/3775878

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档