I am having a problem running gradle on ubuntu 13.10, which I am assuming is the root of the issue.
I installed gradle using the below command
gradle
I was able to fix the above problem with advice from Vidya, manually adding gradle into the system allow gradle to correctly work.