Catch and just log all errors

* Fixes deployments failing if it raises Errno::EHOSTUNREACH
* Uses https to talk to rubygems.org instead of http