errbit/errbit — pull request #649 by reconbot (2014-02-09 23:55:27+00:00)
Title: Upgrade from Octokit 1x to 2x to resolve issues with oauth2

I was having some issues with github and oauth2 when users had 2 factor auth enabled. I wasn't able to track down the exact cause of the errors unfortunately, however I was able to confirm
- Things work as expected with the new octokit
- that none of the changes to octokit between the older `1.25` and the `2.7.1` affect our use of it

To reproduce the error I was experiencing simply pop a rails console
````ruby
user_token = "xxxxx" # taken from your user model
Octokit::Client.new(access_token: user_token).organizations
# Octokit::NotFound: GET https://api.github.com/user/orgs: 404: Not Found
````

I have a hunch that it has to do with 2 factor auth but I do not yet have facts to back that up.