This one line fix will make your head spin

rest_client includes an old version of rest-client. Recent versions of rest-client no longer use SSLv3 by default.