Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Usage  >  Troubleshooting  >  Thread
   
 
Git error:  “fatal: not a git repository”
 
rudedog830
Posted: 21 February 2010 07:27 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  26
Joined  2008-09-17

I am attempting to redirect incoming emails to my tracks installation through an email forwarding script.

|/usr/bin/ruby /home/username/tracks-1.8/script/runner -e production ‘MessageGateway.receive(STDIN.read)’

The redirection works but I receive an error that causes a bounced back email with the following error:

pipe to |/usr/bin/ruby /home/username/tracks-1.8/script/runner -e production ‘MessageGateway.receive(STDIN.read)’
  generated by .(JavaScript must be enabled to view this email address)

The following text was generated during the delivery attempt:

———pipe to |/usr/bin/ruby /home/username/tracks-1.8/script/runner -e production ‘MessageGateway.receive(STDIN.read)’
    generated by .(JavaScript must be enabled to view this email address)———

fatal: Not a git repository (or any of the parent directories): .git

What I am trying to do is suppress this error to eliminate the bounced back emails.  I think that the error is the result of the script running from the root directory on my host server which is not a git repository.

How do I eliminate this error?

Profile
 
rudedog830
Posted: 22 February 2010 05:37 AM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  26
Joined  2008-09-17

I was able to eliminate this error with the following entry in my environment.rb file:

ENV[‘GIT_DIR’] = /home/username/tracks/.git

Profile
 
Reinier Balt
Posted: 22 February 2010 09:03 AM   [ Ignore ]   [ # 2 ]  
Sr. Member
RankRankRankRank
Total Posts:  633
Joined  2006-10-05

you are running the development tree. The footer of tracks shows the git date of the last commit. Tracks needs access to git for that. Commenting out the two lines at the bottom will also solve this.

Profile
 
   
 
 
‹‹ Install requirements for 1.8-devel      password error/missing ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.0966 seconds

Atom Feed
RSS 2.0