Something isn't set up properly to fetch the gem from GitHub.
try gem fetch -V
steve@macpro:~$ gem fetch blackbook --version ">= 1.0.7" --source http://github.com/tamoyal/blackbook/tree/master -V
GET 301 Moved Permanently: http://github.com/tamoyal/blackbook/tree/master/specs.4.8.gz
GET 200 OK: http://github.com/tamoyal/blackbook/tree/master/
ERROR: While executing gem ... (Zlib::GzipFile::Error)
not in gzip format
You're getting the "not in gzip format" error because gem
can't fetch specs.4.8.gz
. GitHub returns a 301 redirect back to your project home page, which of course isn't what it wants and isn't gzipped.
Sorry I can't help you further, but I haven't build a gem, much less on GitHub.