I’ve installed Ubuntu on my VM and I’ve got a problem with Grails installation. I’ve installed JDK, Groovy and downloaded package with Grails. I’ve added path for java, Groovy and Grails in files /etc/bash.bashrc and ~/.profile.
When I run command ‘grails’ it gives an error “no command grails found”. How can I check what is wrong?
Thanks in advance!
@Dave hinted the answer in a comment but explicitly the answer is to add $GRAILS_HOME/bin to your PATH in the ~/.profile file. $GRAILS_HOME should of course be replaced with the actual location of the Grails installation.
You may also need to
chmod +x $GRAILS_HOME\bin\grails.