fix some bug(rvm key, Gemfile, Gemfile.lock, /etc/init.d/gitlab)