不能将 git 与 aptana 一起使用 [英] Can't use git with aptana
问题描述
当我尝试在 git 服务器上放置一些东西时,它给了我一个错误:对未定义变量 USER 的引用"
When i try to put something on a git server it's givin' me an error: "Reference to undefined variable USER"
在 bash 中:echo $USER 给我正确答案.
In bash: echo $USER giving me correct answer.
可能是什么?
这是带有 aptana-3 插件的 Eclipse(一整包)
It's eclipse with aptana-3 plugin (a whole pack)
推荐答案
bash 会话可能设置了正确的环境变量.
A bash session might have the correct environment variable set.
但本机操作系统会话可能不会(例如 Windows 上的 DOS 会话).
您能否从刚刚为 USER
设置正确值的会话中启动您的 aptana?
But the native OS session might not (like a DOS session on Windows for instance).
Can you launch your aptana from a session which has just before set the correct value for USER
?
如果它仍然失败(如这个线程),也尝试为 $HOME
设置正确的值.
If it still fails (like in this thread), try also to set the correct value for $HOME
.
这篇关于不能将 git 与 aptana 一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!