added latest option for rvm installation 
updated curl installation command