hako / blackboard-dl

📚💻 Downloads lectures and workshops automagically.
MIT License
8 stars 3 forks source link

Readline shard not installed #2

Closed ocelotsloth closed 4 years ago

ocelotsloth commented 4 years ago

Expected Behavior

crystal build src/blackboard-dl.cr should build the application.

Actual Behavior

~/Projects/blackboard-dl master.
❯ crystal build src/blackboard-dl.cr
Showing last frame. Use --error-trace for full trace.

In src/cli.cr:4:1

 4 | require "readline"
     ^
Error: can't find file 'readline'

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?

Versions

OS: Arch Linux Crystal Version:

❯ crystal -v
Crystal 0.32.1 (2019-12-18)

LLVM: 9.0.0
Default target: x86_64-pc-linux-gnu

Thoughts

It looks like the readline package was removed from the core distribution at some point and into its own shard. I believe adding the dependency should take care of it.