Skip to content

Cypress fails to start when running with docker compose up #2000

@Giddu

Description

@Giddu

After cloning the repository I tried to start the containers using docker compose up but the cypress container fails to run with below error -

cypress-1 | bundler: failed to load command: puma (/usr/local/bundle/bin/puma) cypress-1 | /usr/local/bundle/gems/puma-6.6.0/lib/puma/dsl.rb:136:in read': No such file or directory @ rb_sysopen - /docker/config/puma.rb (Errno::ENOENT)
cypress-1 | from /usr/local/bundle/gems/puma-6.6.0/lib/puma/dsl.rb:136:in _load_from' cypress-1 | from /usr/local/bundle/gems/puma-6.6.0/lib/puma/configuration.rb:246:in block in load'
cypress-1 | from /usr/local/bundle/gems/puma-6.6.0/lib/puma/configuration.rb:246:in each' cypress-1 | from /usr/local/bundle/gems/puma-6.6.0/lib/puma/configuration.rb:246:in load'
cypress-1 | from /usr/local/bundle/gems/puma-6.6.0/lib/puma/launcher.rb:56:in initialize' cypress-1 | from /usr/local/bundle/gems/puma-6.6.0/lib/puma/cli.rb:66:in new'
cypress-1 | from /usr/local/bundle/gems/puma-6.6.0/lib/puma/cli.rb:66:in initialize' cypress-1 | from /usr/local/bundle/gems/puma-6.6.0/bin/puma:8:in new'
cypress-1 | from /usr/local/bundle/gems/puma-6.6.0/bin/puma:8:in <top (required)>' cypress-1 | from /usr/local/bundle/bin/puma:25:in load'
cypress-1 | from /usr/local/bundle/bin/puma:25:in <top (required)>' cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/cli/exec.rb:59:in load'
cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/cli/exec.rb:59:in kernel_load' cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/cli/exec.rb:23:in run'
cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/cli.rb:452:in exec' cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/vendor/thor/lib/thor/command.rb:28:in run'
cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/vendor/thor/lib/thor.rb:538:in dispatch'
cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/cli.rb:35:in dispatch' cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/vendor/thor/lib/thor/base.rb:584:in start'
cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/cli.rb:29:in start' cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/exe/bundle:28:in block in <top (required)>'
cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/lib/bundler/friendly_errors.rb:118:in with_friendly_errors' cypress-1 | from /usr/local/bundle/gems/bundler-2.7.0/exe/bundle:20:in <top (required)>'
cypress-1 | from /usr/local/bundle/bin/bundle:25:in load' cypress-1 | from /usr/local/bundle/bin/bundle:25:in

'
cypress-1 exited with code 1 `

The issue is either due to incorrect path configuration for volume in docker compose file or missing config file in the docker directory.

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