I am running an installation script to install Grails on new machines with GVM.
#!/bin/bash
set -e
source "/Users/mecca831/.gvm/bin/gvm-init.sh"
echo "Install grails"
gvm install grails 2.1.1
GVM returns 1 in this case, which breaks my script. However, the script works if set -e
is removed. It returns 0 and the correct prompt will show up. Anyone run into the same problem trying to install Grails with GVM?