简体   繁体   中英

Grails installation on Virtual Machine Ubuntu

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM