matryer / matryer/xbar-plugins

Error when running script cmd line ":22:in `<main>': uninitialized constant API (NameError)"

Open
#1,987 8 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.