I am a little new to groovy and grails, but willing to try. The problem is, gvm doesn't seem to like Windows. Here is a glimpse into a frustrating adventure with gvm on Cygwin today:
$ spring --version
Spring CLI v1.1.8.RELEASE
$ curl -s get.gvmtool.net | bash
Thanks for using
_____/\\\\\\\\\\\\__/\\\________/\\\__/\\\\____________/\\\\_
___/\\\//////////__\/\\\_______\/\\\_\/\\\\\\________/\\\\\\_
__/\\\_____________\//\\\______/\\\__\/\\\//\\\____/\\\//\\\_
_\/\\\____/\\\\\\\__\//\\\____/\\\___\/\\\\///\\\/\\\/_\/\\\_
_\/\\\___\/////\\\___\//\\\__/\\\____\/\\\__\///\\\/___\/\\\_
_\/\\\_______\/\\\____\//\\\/\\\_____\/\\\____\///_____\/\\\_
_\/\\\_______\/\\\_____\//\\\\\______\/\\\_____________\/\\\_
_\//\\\\\\\\\\\\/_______\//\\\_______\/\\\_____________\/\\\_
__\////////////__________\///________\///______________\///__
Will now attempt installing...
Looking for a previous installation of GVM...
Looking for unzip...
Looking for curl...
bash: line 116: [: too many arguments
Looking for sed...
Installing gvm scripts...
Create distribution directories...
Create candidate directories...
Created for crash: /cygdrive/c/Users/McLDa001//.gvm/crash
Created for gaiden: /cygdrive/c/Users/McLDa001//.gvm/gaiden
Created for glide: /cygdrive/c/Users/McLDa001//.gvm/glide
Created for gradle: /cygdrive/c/Users/McLDa001//.gvm/gradle
Created for grails: /cygdrive/c/Users/McLDa001//.gvm/grails
Created for griffon: /cygdrive/c/Users/McLDa001//.gvm/griffon
Prime the config file...
Download script archive...
Extract script archive...
Cygwin detected - normalizing paths for unzip...
Install scripts...
Attempt update of bash profiles...
Attempt update of zsh profiles...
All done!
Please open a new terminal, or run the following in the existing one:
source "/cygdrive/c/Users/McLDa001//.gvm/bin/gvm-init.sh"
Then issue the following command:
gvm help
Enjoy!!!
$ gvm install groovy
-bash: gvm: command not found
$ source "/cygdrive/c/Users/McLDa001//.gvm/bin/gvm-init.sh"
$ gvm install groovy
GVM can't reach the internet so going offline. Re-enable online with:
$ gvm offline disable
==== BROADCAST =============================================
OFFLINE MODE ENABLED! Some functionality is now disabled.
============================================================
This command is not available in offline mode.
$ echo $GVM_SERVICE
http://api.gvmtool.net
$ gvm install grails
This command is not available in offline mode.
$ gvm offline disable
Online mode re-enabled!
$ gvm install grails
GVM can't reach the internet so going offline. Re-enable online with:
$ gvm offline disable
==== BROADCAST =============================================
OFFLINE MODE ENABLED! Some functionality is now disabled.
============================================================
This command is not available in offline mode.