From f9031f2a48be6cd289f4900eadb8647211a9898d Mon Sep 17 00:00:00 2001 From: Aaron Sullivan Date: Sat, 10 Aug 2024 14:03:52 -0700 Subject: [PATCH] Add note about busted.runner error in README I thought this was useful - it took me a while to figure out what was going on. Maybe this can save someone else the time. Ultimately got it from the `nlua` README. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a8ec610..e5492d3 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,12 @@ luarocks test spec/path_to_file.lua --local busted spec/path_to_file.lua ``` +If you see an error like `module 'busted.runner' not found`: + +```bash +eval $(luarocks path --no-bin) +``` + [rockspec-format]: https://github.com/luarocks/luarocks/wiki/Rockspec-format [luarocks]: https://luarocks.org [luarocks-api-key]: https://luarocks.org/settings/api-keys