I am using Mac Os X 10.11, I have a fresh installation of Emacs(Emacsformacosx.com), and I am trying to install tern plugin for javascript. I follow the simple commands: -npm install tern -g with el-get i install auto-complete and tern I copy the short code snippet indicated from the tern site that activate tern-mode plus i added the path where tern is installed in my case (~/.emacs.d/el-get/tern/emacs) and when I activate the tern-mode in emacs I get "No such file or directory tern" but from the terminal I can run it, so I cannot figure out what is the problem