Forum: Rails deployment git Environment problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Maarten P. (Guest)
on 2009-01-14 14:05
Hi,

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 user.name 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 user.name Joe Random Hacker
git config --global user.email removed_email_address@domain.invalid

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?

tnx
This topic is locked and can not be replied to.