You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My library using Rambo is failing when used in an .exs script and run with elixir ./examples/mdui_list.exs - this is different to the issue with escripts in #14 but seems to have a similar cause, access to priv.
I'm using Mix.install in the script to install my library, which in turn installs Rambo.
Is there any way to work around this?
Example error:
sh: /Users/pete/Library/Caches/mix/installs/elixir-1.14.2-erts-13.1.3/ca16c8c442e98299bb3e789b69f4a76b/_build/dev/lib/rambo/priv/rambo: No such file or directory
sh: line 0: exec: /Users/pete/Library/Caches/mix/installs/elixir-1.14.2-erts-13.1.3/ca16c8c442e98299bb3e789b69f4a76b/_build/dev/lib/rambo/priv/rambo: cannot execute: No such file or directory
** (EXIT from #PID<0.95.0>) :epipe
The text was updated successfully, but these errors were encountered:
Update: It's not access to priv - it's that the compiled rambo binary isn't there. If I copy the binary from my main project into the temporary _build directory of the script everything works. I think this is due to #13 and so will be fixed when that is fixed.
My library using Rambo is failing when used in an .exs script and run with
elixir ./examples/mdui_list.exs
- this is different to the issue with escripts in #14 but seems to have a similar cause, access topriv
.I'm using
Mix.install
in the script to install my library, which in turn installs Rambo.Is there any way to work around this?
Example error:
The text was updated successfully, but these errors were encountered: