install curl before rvm