github/github-services — Issue #234: Weird bug when I did a git push
Author: jez9999
Created: 2012-01-27 16:00:05+00:00
State: open

I just did a git push to github, and I got this:

```
$ git push
Password for 'github.com':
Counting objects: 16, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 1.38 KiB, done.
Total 9 (delta 6), reused 0 (delta 0)
remote: /data/github/current/lib/github/config/resque.rb:27: undefined method `c
onstantize' for "GitHub::Jobs::PostReceive":String (NoMethodError)
remote: from /data/github/current/lib/github/config/resque.rb:26:in `eac
h'
remote: from /data/github/current/lib/github/config/resque.rb:26
remote: from /data/github/current/lib/rock_queue.rb:9:in `require'
remote: from /data/github/current/lib/rock_queue.rb:9
remote: from hooks/post-receive:27:in `require'
remote: from hooks/post-receive:27
To https://jez9999@github.com/configit/ace.git
f044eb2..930caae dbVersionControl -> dbVersionControl
! [rejected] EFCodeFirst -> EFCodeFirst (non-fast-forward)
! [rejected] customorm -> customorm (non-fast-forward)
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://jez9999@github.com/configit/ace.git'
```

This looks like a nasty error on github's end to me. Worse, my commits to the dbVersionControl branch have not appeared on github, but my local repo thinks they have because it seems no 'remote failure' was returned to my client! If I push again, my client thinks everything is ok:

```
$ git push origin HEAD
Password for 'github.com':
Everything up-to-date
```

I'm not really sure how to go about debugging this any further. If you want me to do anything please let me know.