hi,
I’ve installed crystal lang through scoop and the simple hello world program runs fine through 'crystal run hello.cr'
, but the powershell doesnt seem to recognise the shards
command at all…
here are my crystal env:
CRYSTAL_CACHE_DIR=C:\Users\name\AppData\Local\crystal\cache
CRYSTAL_PATH=lib;C:\Users\name\scoop\apps\crystal\current\src
CRYSTAL_VERSION=1.3.0
CRYSTAL_LIBRARY_PATH=C:\Users\name\scoop\apps\crystal\current\lib
CRYSTAL_OPTS=""
any help with this?
Did you install shards
or only crystal
? I believe those are different packages in the scoop repository.
2 Likes
lmaooooooooooooooooooo!!!
I can’t believe that’s what it was, I’m facepalming at myself so hard right now.
I assumed that installing crystal installed shards commands as well since that’s all I saw in the github instructions…
Thank you that’s solved my issue XD
Yeah that’s different from most other packages which either contain shards
directly or have it as a (recommended) dependency.
Maybe shards
could be suggested in the scoop package as well.
1 Like