Install Issue #30

Closed
opened 2026-06-22 02:04:43 +00:00 by akinus · 3 comments
Owner

I got this when I tried to upgrade via brew:

Error: akinus/forgejo/akclip: /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/akinus/homebrew-forgejo/Formula/akclip.rb:1: syntax errors found

1 | class <%= class_name %> < Formula
| ^~~~~ unexpected constant path after class; class/module name must be CONSTANT
| ^~~~~ expected an end to close the class statement
| ^~~~~ unexpected constant path after class; class/module name must be CONSTANT
| ^~~~~ unexpected constant path after class; class/module name must be CONSTANT
2 | desc "Generated by AI DevOps Pipeline"
3 | ... repo %>"
| ^ unexpected end, expecting ';' or '\n'
| ^ unexpected '>'; expected an expression after the operator
4 | url "<%= url %>"
5 | sha256 "<%= sha %>"
| ^~~ unexpected local variable or method, expecting end-of-input
| ^ unexpected '>'; expected an expression after the operator
6 | version "<%= version %>"
7 |
8 | def install
9 | bin.install "<%= bin_name %>"
| ^~~~~~~~ unexpected local variable or method, expecting end-of-input
| ^ unexpected '>'; expected an expression after the operator
10 | end
11 |
12 | test do
13 | ... bin_name %> --version")
| ^~~~~~~~ unexpected local variable or method, expecting end-of-input
| ^ unexpected '>'; expected an expression after the operator
| ^ unexpected string literal, expecting end-of-input
14 | end
15 | end
| ^ unterminated string meets end of file
16 |
| ^ unexpected end-of-input, assuming it is closing the parent top level context

I got this when I tried to upgrade via brew: Error: akinus/forgejo/akclip: /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/akinus/homebrew-forgejo/Formula/akclip.rb:1: syntax errors found > 1 | class <%= class_name %> < Formula | ^~~~~ unexpected constant path after `class`; class/module name must be CONSTANT | ^~~~~ expected an `end` to close the `class` statement | ^~~~~ unexpected constant path after `class`; class/module name must be CONSTANT | ^~~~~ unexpected constant path after `class`; class/module name must be CONSTANT 2 | desc "Generated by AI DevOps Pipeline" > 3 | ... repo %>" | ^ unexpected `end`, expecting ';' or '\n' | ^ unexpected '>'; expected an expression after the operator 4 | url "<%= url %>" > 5 | sha256 "<%= sha %>" | ^~~ unexpected local variable or method, expecting end-of-input | ^ unexpected '>'; expected an expression after the operator 6 | version "<%= version %>" 7 | 8 | def install > 9 | bin.install "<%= bin_name %>" | ^~~~~~~~ unexpected local variable or method, expecting end-of-input | ^ unexpected '>'; expected an expression after the operator 10 | end 11 | 12 | test do > 13 | ... bin_name %> --version") | ^~~~~~~~ unexpected local variable or method, expecting end-of-input | ^ unexpected '>'; expected an expression after the operator | ^ unexpected string literal, expecting end-of-input 14 | end > 15 | end | ^ unterminated string meets end of file > 16 | | ^ unexpected end-of-input, assuming it is closing the parent top level context
Author
Owner

🐛 AI bug fix started. Branch: fix/issue-30

🐛 AI bug fix started. Branch: `fix/issue-30`
akinus referenced this issue from a commit 2026-06-22 02:05:30 +00:00
Author
Owner

🐛 AI bug fix started. Branch: fix/issue-30

🐛 AI bug fix started. Branch: `fix/issue-30`
akinus referenced this issue from a commit 2026-06-22 02:05:47 +00:00
Author
Owner

PR merged successfully! Branch fix/issue-30 has been deleted, and this issue is now closed.

✅ PR merged successfully! Branch `fix/issue-30` has been deleted, and this issue is now closed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
akinus/akclip#30
No description provided.