Skip to content

Parsing documentation on gem install fails #136

Description

@wzissel

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions