From 1f72cd70bbc7f700773efddfef593bf1dd1f4a55 Mon Sep 17 00:00:00 2001 From: satou haruka Date: Sun, 28 Jul 2024 13:56:54 +0900 Subject: [PATCH] Add a note for macOS users to Contributing to Ransack to make it more friendly --- CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 276bb1fc..7acefe2e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -168,4 +168,16 @@ Syntax: * Prefer simplicity, readability, and maintainability over terseness. * Follow the conventions you see used in the code already. +Notes: + +* If you are a macOS user ( homebrew ) and you get the following error + ``` + ld: library 'zstd' not found + ``` + You need to set the path to zstd in the environment variable library export. + Add the following command to your `.zshrc` . + ``` + export LIBRARY_PATH=$LIBRARY_PATH:$(brew --prefix zstd)/lib/ + ``` + And in case we didn't emphasize it enough: We love tests!