changed target version to latest gilab release.
changed git shell to latest stable version.
removed extra repositories (not needed in latest versions of Ubuntu/Debian).
changed ruby install to rvm, plays nicer with Ubuntu 14.04 see:
https://bugs.launchpad.net/ubuntu/+source/ruby2.0/+bug/1310292