Commit 6361855b
6361855bcdb0Merged
Yukihiro "Matz" Matsumoto <[email protected]> · 7 months ago · 3 files · ~3 modified
Description
build: add 'make deps' to fetch libprism into vendor/
Cloning the repo without the prism gem installed now fails with an unhelpful 'prism.h not found'. Fix:
- Prefer vendor/prism if present, then fall back to the installed prism gem (previous default), then fall back with a clear error that points at 'make deps' / 'gem install prism' / PRISM_DIR.
- 'make deps' downloads prism-.gem from rubygems.org and extracts its data.tar.gz into vendor/prism. Using the gem tarball (rather than a git clone of ruby/prism) gets us the generated headers like prism/diagnostic.h for free — no rake/bundler needed.
- .gitignore: ignore /vendor/
- README: document 'make deps' in Quick Start and Building.
Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]
Details
- Commit
- 6361855bcdb0
- Parent
- 8ce0349fff93