views:

162

answers:

1

When i try to put something on a git server it's givin' me an error: "Reference to undefined variable USER"

In bash: echo $USER giving me correct answer.

What could it be?

It's eclipse with aptana-3 plugin (a whole pack)

+2  A: 

A bash session might have the correct environment variable set.

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?

If it still fails (like in this thread), try also to set the correct value for $HOME.

VonC
It still fails to work. The same error. I have even exported USER and HOME values before running
matiit
Strange. Did you try to reproduce the problem with a classic Eclipse installation and Egit (http://code.google.com/p/egit/wiki/EGitQuickGuide)?
VonC
I didn't but i think i will surrender, i will pushing from console. No time for stupid errors (: and as I remember it is still beta?
matiit
@matiit: I understand. EGit is still pre-1.0 (http://wiki.eclipse.org/EGit/FAQ). I prefer console session too ;)
VonC
@VonC only commit messages are fancier wit GUI (: and history showing
matiit