Use https for ruby gems.
Fix 2.0.0 compatibility issue in test suite.