{"issue":{"state":"closed","created_at":"2011-12-06T03:11:49Z","updated_at":"2011-12-06T12:57:27Z","user":{"gravatar_id":"767c11e8e794e1c268af1377c2014fa3","id":673185,"url":"https://api.github.com/users/joedynamite","login":"joedynamite","avatar_url":"https://secure.gravatar.com/avatar/767c11e8e794e1c268af1377c2014fa3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"When I run the `hub init -g` command in a directory I get the following error: \r\n\r\n    /usr/local/bin/hub:724:in `init': undefined method `name' for nil:NilClass (NoMethodError)\r\n\t    from /usr/local/bin/hub:473:in `send'\r\n\t    from /usr/local/bin/hub:473:in `run'\r\n\t    from /usr/local/bin/hub:1215:in `initialize'\r\n\t    from /usr/local/bin/hub:1219:in `new'\r\n\t    from /usr/local/bin/hub:1219:in `execute'\r\n\t    from /usr/local/bin/hub:1268\r\n\r\nI'm running **Ruby 1.9.2 p290** installed with RVM, **Git 1.7.7.4**, and **Hub 1.7.0** both installed with homebrew.\r\n\r\nIt works fine on my other computer running the same version of Ruby with **Git 1.7.6.1** and **Hub 1.6.1**. They're set up almost the exact same way otherwise.\r\n\r\nUsing regular `git init` works, so I assume it was an issue with Hub and not Git.","assignee":null,"id":2458102,"number":113,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"`init': undefined method `name' for nil:NilClass (NoMethodError)","html_url":"https://github.com/defunkt/hub/issues/113","closed_at":"2011-12-06T12:56:51Z","url":"https://api.github.com/repos/defunkt/hub/issues/113","milestone":null},"action":"created","comment":{"created_at":"2011-12-06T12:57:27Z","updated_at":"2011-12-06T12:57:27Z","user":{"gravatar_id":"8f93a872e399bc1353cc8d4e791d5401","id":887,"url":"https://api.github.com/users/mislav","login":"mislav","avatar_url":"https://secure.gravatar.com/avatar/8f93a872e399bc1353cc8d4e791d5401?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Thanks. Update to edge version with `brew upgrade hub --HEAD`","id":3031870,"url":"https://api.github.com/repos/defunkt/hub/issues/comments/3031870"}}