Skip to content

Comments

fix: support multiple elixir versions on multiroot projects#413

Open
doorgan wants to merge 3 commits intomainfrom
doorgan/multiroot-ex-versions
Open

fix: support multiple elixir versions on multiroot projects#413
doorgan wants to merge 3 commits intomainfrom
doorgan/multiroot-ex-versions

Conversation

@doorgan
Copy link
Collaborator

@doorgan doorgan commented Feb 19, 2026

#344 fixed the case when SHELL isn't available and we can't use it to find elixir, but apparently that change causes us to only be able to find a single elixir version in a multiroot project, so we need the shell approach too.

This PR reintroduces the shell approach, and adds the #344 as a fallback if SHELL is not available.

Testing this I also found that having multiple projects with different elixir versions made them download different hex versions, and that sporadically caused issues on my tests, so I had to make expert remove more environment variables than we did before.

Also on windows I am now using mise, which has the elixir shim as elixir.cmd and Expert was struggling to find it even if it was in the path.

@doorgan doorgan force-pushed the doorgan/multiroot-ex-versions branch 3 times, most recently from cd60477 to 3a54178 Compare February 19, 2026 08:19
@doorgan doorgan force-pushed the doorgan/multiroot-ex-versions branch from 3a54178 to 245f890 Compare February 19, 2026 08:28
@doorgan doorgan marked this pull request as ready for review February 20, 2026 20:26
@doorgan
Copy link
Collaborator Author

doorgan commented Feb 20, 2026

@giddie could you verify if this PR works in your setup? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant