Crystal itself seems fine though
I should clarify that. bin/crystal
seems fine, embedded/bin/crystal
(which I only found just now) doesn’t work, along with all the other things in embedded/bin
, so:
$ embedded/bin/crystal run 02-Counting-the-number-of-characters.cr
Showing last frame. Use --error-trace for full trace.
In 02-Counting-the-number-of-characters.cr:1:1
1 | puts "What is the input string?"
^
Error: can't find file 'prelude'
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?
Regards,
iain