elixir-tools / credo-language-server

LSP implementation for Credo.
MIT License
96 stars 11 forks source link

Fix elixir invalid command for bin/credo-language-server #56

Closed wkirschbaum closed 1 year ago

wkirschbaum commented 1 year ago

I the following error when running /bin/credo-language-server on Linux. This fixes it.

/usr/bin/env: ‘elixir --sname undefined’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines

Apparently this is from coreutils 8.30 onwards, and I recall that Apple ships ancient versions of these tools, so not sure about compatibility.

mhanberg commented 1 year ago

I tested this and it seems to work on macOS