Skip to content

Rackup overrides CLI preference for app #2225

@nateberkopec

Description

@nateberkopec

Describe the bug

Puma should always prefer the rackup file specified by the CLI, but if the rackup DSL command is used, it does not.

Related: #1401

Puma config:

Using the test fixtures in the repo:

rackup "test/rackup/hello-env.ru"

To Reproduce

bin/puma -C my_rackup_config.rb test/rackup/hello.ru

...should return a Hello World! response, but runs the hello-env app instead.

Metadata

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