matryer / matryer/xbar-plugins
Error when running script cmd line ":22:in `<main>': uninitialized constant API (NameError)"
Open
Nobody has claimed this yet.
ruby
- Dominant language
- Shell
- Stars
- 2.6k
- Forks
- 1.1k
- Avg merge
- 9d 15h
- Merged PRs (30d)
- 1
Description
I am getting the following error when trying to run the script
":22:in `': uninitialized constant API (NameError)" ... any ideas?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the script that produced the error and inspect line 22 and the surrounding command-line invocation. Reproduce the failure and determine what context is missing for API; done means the script runs without the NameError, or the issue is updated with the script and execution details needed to diagnose it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100