Skip to content

Sinatra 2.0.6 regression: OptionParser::InvalidOption: invalid option: --pattern #1559

Closed
@rubys

Description

Error:

OptionParser::InvalidOption:
  invalid option: --pattern
# /var/lib/gems/2.5.0/gems/sinatra-2.0.6/lib/sinatra/main.rb:18:in `<module:Sinatra>'

Reproduction instructions:

$ git clone https://github.com/rubys/sinatra206.git
$ cd sinatra206
$ bundle install
$ bundle exec rake test

This worked with Sinatra 2.0.5. See also https://travis-ci.org/apache/whimsy/jobs/574961311

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions