I’m finding that if I do the following everything works as expected:
$ iex --sname console --remsh eprocess@service
eprocess@service)1> MyModule.process()
However, MyModule
is not available if I try:
$ iex --sname console --remsh eprocess@$HOSTNAME -e "MyModule.process()"
The error is:
** (UndefinedFunctionError) function MyModule.process/0 is undefined (module MyModule is not available)
Does anyone know how to include dependencies from mix when using the -e
flag?