Skip to content

Library using Rambo fails in a .exs script #22

@binaryape

Description

@binaryape

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions