Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing documentation on gem install fails #136

Open
wzissel opened this issue Oct 27, 2023 · 0 comments
Open

Parsing documentation on gem install fails #136

wzissel opened this issue Oct 27, 2023 · 0 comments

Comments

@wzissel
Copy link

wzissel commented Oct 27, 2023

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?

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

No branches or pull requests

1 participant