Skip to content

Parsing documentation on gem install fails #136

@wzissel

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions