I had Posrgres (will/crystal-pg) working before in my Kemal project. I recently add a spec test for a Postgres data provider I wrote. However, now it seems when I do a shards install
I’m getting this error:
Fetching https://github.com/kemalcr/spec-kemal.git
Fetching https://github.com/kemalcr/kemal.git
Fetching https://github.com/luislavena/radix.git
Fetching https://github.com/jeromegn/kilt.git
Fetching https://github.com/crystal-loot/exception_page.git
Fetching https://github.com/crystal-lang/crystal-db.git
Fetching https://github.com/will/crystal-pg.git
Fetching https://github.com/vladfaust/migrate.cr.git
Error resolving db (~> 0.7.0, ~> 0.7.0, ~> 0.6.0)
I’ve tried to update my shards.yml
to:
dependencies:
spec-kemal:
github: kemalcr/spec-kemal
kemal:
github: kemalcr/kemal
db:
github: crystal-lang/crystal-db
version: "~> 0.7.0"
pg:
github: will/crystal-pg
migrate:
github: vladfaust/migrate.cr
version: "~> 0.5.0"
crystal: 0.30.1
However it doesn’t seem to matter. Am I specfifying the desired crystal-db version correctly? Anyone else experience this problem?