delef / maxminddb.cr

MaxMind DB Reader for Crystal
MIT License
23 stars 5 forks source link

Error: can't find file 'crystal/datum' #10

Closed emanzx closed 4 years ago

emanzx commented 4 years ago
In BindRPZCollector.cr:23:1

 23 | require "geoip2"
      ^
Error: while requiring "geoip2"

In lib/geoip2/src/geoip2.cr:2:1

 2 | require "./geoip2/database"
     ^
Error: while requiring "./geoip2/database"

In lib/geoip2/src/geoip2/database.cr:1:1

 1 | require "maxminddb"
     ^
Error: while requiring "maxminddb"

In lib/maxminddb/src/maxminddb.cr:1:1

 1 | require "./maxminddb/reader"
     ^
Error: while requiring "./maxminddb/reader"

In lib/maxminddb/src/maxminddb/reader.cr:3:1

 3 | require "./decoder"
     ^
Error: while requiring "./decoder"

In lib/maxminddb/src/maxminddb/decoder.cr:1:1

 1 | require "./any"
     ^
Error: while requiring "./any"

In lib/maxminddb/src/maxminddb/any.cr:1:1

 1 | require "crystal/datum"
     ^
Error: can't find file 'crystal/datum'

If you're trying to require a shard:
- Did you remember to run `shards install`?
- Did you make sure you're running the compiler in the same directory as your shard.yml?
$ crystal -v
Crystal 0.32.1 (2020-05-15)

LLVM: 9.0.1
Default target: x86_64-portbld-freebsd12.1

whats is the problem.. searching 'crystal/datum' does not lead me to anyware

emanzx commented 4 years ago

closing this issue as the datum module only available on latest crystal