-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
shards binary not reachable on MacOS #16746
Copy link
Copy link
Open
Labels
kind:bugA bug in the code. Does not apply to documentation, specs, etc.A bug in the code. Does not apply to documentation, specs, etc.topic:infrastructure
Description
Bug Report
Hi there!
I use mise to setup local env and CI which basically :
- download Crystal archive from Github
- extract it in
/Users/nicolas/.local/share/mise/installs/crystal/<version> - add
/Users/nicolas/.local/share/mise/installs/crystal/<version>/binin$PATH
In MacOs archive, bin/crystal is a wrapper script which finally exec embedded/bin/crystal but there is no equivalent for the shards command 😢
Hence CI job fails with sh: shards: command not found : https://github.com/jbox-web/netbox-extractor/actions/runs/23123014508/job/67160475404
Linux archive :
nicolas@MacBook-Pro-de-Nicolas:~/Downloads/crystal-1.19.1-1$ tree -L 2
.
├── bin
│ ├── crystal
│ └── shards
├── lib
│ └── crystal
└── share
├── bash-completion
├── crystal
├── fish
├── licenses
├── man
└── zshMacOS archive :
nicolas@MacBook-Pro-de-Nicolas:~/Downloads/crystal-1.19.1-1 2$ tree -L 2
.
├── bin
│ └── crystal
├── embedded
│ ├── bin
│ │ ├── crystal
│ │ ├── pcre2-config
│ │ ├── pcre2grep
│ │ ├── pcre2test
│ │ └── shards
│ ├── include
│ ├── lib
│ └── share
├── etc
│ ├── completion.bash
│ ├── completion.fish
│ ├── completion.zsh
│ ├── gdb
│ ├── lldb
│ ├── msvc
│ └── win-ci
├── license-cache
├── LICENSES
│ └── libffi-LICENSE
├── samples
└── srcThank you!
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind:bugA bug in the code. Does not apply to documentation, specs, etc.A bug in the code. Does not apply to documentation, specs, etc.topic:infrastructure