This is instruction for MAC only.
I had the same problem. I solved it by configuring $GRADLE_HOME
in .bash_profile
. Here's how you do it:
.bash_profile
(usually it's located in the user’s home directory).$PATH
variable:
export GRADLE_HOME=/usr/local/opt/gradle/libexec
export PATH=$GRADLE_HOME/bin:$PATH
source .bash_profile
I wrote my own article with instruction in a case if somebody will encounter the same problem.