-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enabled multiple version support (#269)
* Re-enabled multiple version support Prior to this change, running a project in a different version of elixir or erlang than lexical was compiled under would cause an error. There were two reasons for this: 1. The release is extremely sensitive to the version of elixir / erlang, and would not start if they didn't match. This would happen if include_erts is false. 2. Even if include_erts is true, finding the elixir executable to run would use the inherited environment variables from the server process. ASDF munges the path, and would find the version of elixir that was used to start lexical, not the one the project requests. The solution is to enable `use_erts` and to undo the path munging that asdf performs. We need to do something similar with rtx. * Updated to work with rtx * Update apps/remote_control/lib/lexical/remote_control.ex Co-authored-by: Étienne Lévesque <[email protected]> --------- Co-authored-by: Étienne Lévesque <[email protected]>
- Loading branch information
1 parent
0af6418
commit 2dc3d49
Showing
4 changed files
with
52 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters