Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

gvm doesn't seem to like Windows

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you at work? Is there a proxy?
 
David McLure
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was indeed at work. Once home and off of the VPN, things seem to work fine - so thanks! :

 
reply
    Bookmark Topic Watch Topic
  • New Topic