I get the following error when trying to start ENSIME on OSX through Emacs
Error running ensime-source-buffer-loaded-hook
I am following the instructions from the github source page
- Scala Mode is Working
- ENSIME Server appears to be installed, is there any way to verify this?
- The
sbtplugin is installed and I have a.ensimeconfig file generated
Starting Emacs gives me the above error. When I manually try M-x ensime I get the following:
Failed to connect to Swank: server process exited.
Okay, here's how I solved it:
Locate the
ensimefolder and runbin/server /tmp/ensime.port. I got the error:I have no idea what
DoEscapeAnalysisis for, but I tried deleting it frombin/serverand now everything seems to work.See here: https://gist.github.com/2300737