Parsing documentation on gem install fails
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
Start with lib/ey-core/cli/deploy.rb at line 72 and inspect the option/options reference in the abort message. Run ruby -c on the file, then retry gem install ey-core -v 3.6.5 to confirm whether documentation parsing succeeds. Done means the gem installs and its documentation parses without the reported NoMethodError.
Written by the indexing model from the issue text.
Description
Installing ey-core via gem install ey-core -v 3.6.5 throws the following error while parsing documentation.
Successfully installed ey-core-3.6.5
Parsing documentation for ey-core-3.6.5
Before reporting this, could you check that the file you're documenting
has proper syntax:
/Users/user/.rbenv/versions/2.6.8/bin/ruby -c lib/ey-core/cli/deploy.rb
RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
The internal error was:
(NoMethodError) undefined method `[]' for nil:NilClass
ERROR: While executing gem ... (NoMethodError)
undefined method `[]' for nil:NilClass
Upon navigating to the file in question, it looks like the problem may lie at deploy.rb:72. I'd guess abort "Unable to locate environment #{option[:environment]} in #{operator.name}".red should be abort "Unable to locate environment #{**options**[:environment]} in #{operator.name}".red, instead?
- Dominant language
- Ruby
- Stars
- 4
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from engineyard/core-client-rb
-
docker documentation
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
engineyard/core-client-rb#144 ·
-
bug: the environments api URL is returning a bad list of matching environments to environments.rb Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
engineyard/core-client-rb#142 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
engineyard/core-client-rb#141 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
engineyard/core-client-rb#140 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
engineyard/core-client-rb#126 ·
All issues in engineyard/core-client-rb
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
notch8/utk_knapsack#148 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Homebrew/homebrew-cask#288729 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100