Update Ruby to 2.0; use rest-client gem for api call

Also changing the gemset management process