Forum: Rails deployment git Environment problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
01ff060e4998723d020cd0ad6fa8c7ad?d=identicon&s=25 Maarten Porters (temesta)
on 2009-01-14 13:05

I'm trying to push my rails app to the remote depository. Unfortunately
i get this error:

*** Environment problem:
*** Your name cannot be determined from your system services (gecos).
*** You would need to set GIT_AUTHOR_NAME and GIT_COMMITTER_NAME
*** environment variables; otherwise you won't be able to perform
*** certain operations because of "empty ident" errors.
*** Alternatively, you can use configuration variable.

I found some answers on google, but nothing seems to work. So I tried
all these  things:

1. change bash_profile (I have however newest version client & remote)

You’re probably using a slightly older version of git that needs you to
export some variables:
$ export GIT_AUTHOR_NAME=”whatever”
$ export GIT_COMMITER_NAME=”whatever”

2. change git config

git config --global Joe Random Hacker
git config --global

3. cheched user info

Make sure your Full Name is not empty in chsh => seems to be ok

This absolutely makes no sense to me. I'm on osx. Does anyone have a
clue why I keep getting this error?

This topic is locked and can not be replied to.