Skip to content

fix(release): install dkjson into the system luarocks tree - #456

Merged
paudley merged 1 commit into
mainfrom
fix/luarocks-json-install-perms
Sep 4, 2026
Merged

fix(release): install dkjson into the system luarocks tree#456
paudley merged 1 commit into
mainfrom
fix/luarocks-json-install-perms

Conversation

@paudley

@paudley paudley commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #455. luarocks install dkjson failed:

Error: /usr/local/lib/luarocks/rocks-5.1 does not exist and your user
does not have write permissions in /usr/local/lib

It has to go into the system tree, because the consumer is the luarocks binary itself loading a JSON library for its own upload command. A --local install lands in ~/.luarocks, which luarocks does not consult when resolving its own command implementations.

luarocks install dkjson failed:

  Error: /usr/local/lib/luarocks/rocks-5.1 does not exist and your user
  does not have write permissions in /usr/local/lib

It has to go into the SYSTEM tree, because the consumer is the `luarocks`
binary itself loading a JSON library for its own upload command. A --local
install lands in ~/.luarocks, which luarocks does not consult when resolving
its own command implementations.
@paudley
paudley requested a review from ErinAudley as a code owner September 4, 2026 19:34
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 98 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 3f087974-fa97-4376-844c-89dadc9b419d

📥 Commits

Reviewing files that changed from the base of the PR and between 8a9262b and baf2957.

📒 Files selected for processing (1)
  • .github/workflows/release-luarocks.yaml

Comment @coderabbitai help to get the list of available commands.

@paudley
paudley merged commit b9746bd into main Sep 4, 2026
31 checks passed
@paudley
paudley deleted the fix/luarocks-json-install-perms branch September 4, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant