I’m trying to install gradle on OSX 10.8. I downloaded the latest version 1.6. Unzip in /usr/local/ and added the path.
But it doesn’t work when I type gradle in terminal. I even tried to navigate to the bin folder of gradle and execute it. It just says that command not found.
If I type sudo sh gradle, then it works, but only from the bin folder. It also works if I chmod 755 -R gradle/*, but again, only from the bin folder.
What am I doing wrong? How can I make it run just by typing ‘gradle’?