curl -s get.gvmtool.net | bash
gvm list grails
gvm use grails 2.1.4
cd ~/.gvm/ext
curl https://raw.github.com/gvmtool/gvm-extensions/master/src/main/resources/extensions/gvm-switch.sh > gvm-switch.sh
gvm switch grails
By Jeff Beck