block for installing ruby with rvm