Updated ruby version and fixed broken rvm install