rvm alternative for ruby 2.0

Updated branch for GitLab shell 1.7.9
Updated branch for GitLab 6.3