Question

Grails commands don't work

  • Posted September 11, 2014

I installed grails on a new Ubuntu droplet using gvm. Doing gvm list grails shows that grails 2.3.8 is installed, as expected. Doing any grails commands causes the screen to refresh and does nothing else. Anyone else experience this?

Subscribe
Share

/root/.gvm/grails/current/bin/grails

What’s the output of which grails ?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Grails seems to be installed correctly. The only thing that I can think of is that Java is not installed. In fact, I just tested it. If I remove my Java installation, grails shows the same behavior that you’re describing.

To install Java, run:

sudo apt-get install default-jdk

This comment has been deleted