artemeff / redis

Redis commands for Elixir
MIT License
358 stars 63 forks source link

compiled Beam file error #43

Closed mmmries closed 9 years ago

mmmries commented 9 years ago

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.

artemeff commented 9 years ago

Exredis, not ExRedis

mmmries commented 9 years ago

Wow, so sorry I opened this issue. Sorry for wasting your time. :sob: :sob: :sob: :sob: