When I try to upload a large file, it reports the HttpClient timeout exception. After this failure, Github also lists the partial uploaded files with the whole file size - I think this is github issue. However, is it possible to disable the timeout exception. As you know, upload is normally a large file, that may take hours.
By the way, it looks your script only works with above ruby1.9.1. Can you put this on your README file.
Thanks your script.