FreeBSD jails.
pkg install rust
Rust must be available in the environment used to compile Gaol. When Gaol is included in an Elixir release that is packaged for installation in a different system, Rust is not necessary in that system.
Note that many jail interactions require root.
Gaol should only be included in projects built for FreeBSD. See the docs Mix targets for more information.
def deps do
[
{:gaol, "~> 0.1.0", target: :freebsd}
]
end
The log level of the NIF may be configured by setting RUST_LOG
in the environment.
RUST_LOG=debug sudo iex -S mix