Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elixir command check is invalid #406

Open
lukaszsamson opened this issue Feb 7, 2024 · 5 comments
Open

elixir command check is invalid #406

lukaszsamson opened this issue Feb 7, 2024 · 5 comments

Comments

@lukaszsamson
Copy link
Collaborator

It does not take into account asdf/rtx/mise on unix systems

@pineman
Copy link

pineman commented Jun 2, 2024

Hi! At least for asdf, the command check fails for me because process.cwd() is / - not my project's folder, where I have .tool-versions so asdf's elixir shim will be available. Like in this issue: JakeBecker/vscode-elixir-ls#109

@lukaszsamson
Copy link
Collaborator Author

Exactly, that's the case

@Morzaram
Copy link

Morzaram commented Sep 3, 2024

So, the solution is to do the following? (With whatever versions)

cd ~
asdf local elixir 1.17
asdf local erlang 27

@lukaszsamson
Copy link
Collaborator Author

The real solution would be to modify the check to execute elixir command on *nix via a shell script that detects and activates asdf/mise similarily to what launch.sh does. Maybe modifying launch.sh to accept a new param and simply exec into elixir

@tyoc213
Copy link

tyoc213 commented Sep 5, 2024

image

using latest mise

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants