Update to ruby 2.1.2 and fix deployments