I just tried to pull this library into an app and when I do a mix compile everything is fine, but when I try to use it from the iex terminal I get this:
Interactive Elixir (1.0.5) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> client = ExRedis.sta
22:34:28.115 [error] Loading of /Users/hqmq/code/ultron/_build/dev/lib/exredis/ebin/Elixir.ExRedis.beam failed: :badfile
22:34:28.115 [error] beam/beam_load.c(1250): Error loading module 'Elixir.ExRedis':
module name in object code is Elixir.Exredis
22:34:30.493 [error] Loading of /Users/hqmq/code/ultron/_build/dev/lib/exredis/ebin/Elixir.ExRedis.beam failed: :badfile
22:34:30.493 [error] beam/beam_load.c(1250): Error loading module 'Elixir.ExRedis':
module name in object code is Elixir.Exredis
22:34:30.494 [error] Loading of /Users/hqmq/code/ultron/_build/dev/lib/exredis/ebin/Elixir.ExRedis.beam failed: :badfile
** (UndefinedFunctionError) undefined function: ExRedis.sta/0 (module ExRedis is not available)
22:34:30.494 [error] beam/beam_load.c(1250): Error loading module 'Elixir.ExRedis':
module name in object code is Elixir.Exredis
ExRedis.sta()
I'm on elixir 1.0.5 (also tried on 1.0.4) and OTP 17.5
Is this a known issue? I tried doing a mix clean and mix compile, but still had the same issue.
I just tried to pull this library into an app and when I do a
mix compile
everything is fine, but when I try to use it from the iex terminal I get this:I'm on elixir 1.0.5 (also tried on 1.0.4) and OTP 17.5
Is this a known issue? I tried doing a
mix clean
andmix compile
, but still had the same issue.