Exclude blockdiag and shaape tests on Windows
Try to update rubygems to work around SSL failure on appveyor