enter a sudo shell first
install everything in one go
add chef
trim whitespace
move everything to a Gemfile
rvm config
fix rvm command