Skip to content

deploy-dev fails if bundle update needed #480

@jeremylenz

Description

@jeremylenz

All that was needed to fix this was a manual bundle update in the existing Foreman directory. Perhaps the playbook should run bundle update if needed?

TASK [foreman_development : Install Ruby dependencies] **************************************************************************************************************************************
fatal: [localhost]: FAILED! => {
    "changed": true,
    "cmd": [
        "bundle",
        "install",
        "--path",
        ".vendor",
        "--jobs",
        "3",
        "--without",
        "libvirt:journald"
    ],
    "delta": "0:00:05.194666",
    "end": "2026-04-29 09:09:32.843070",
    "rc": 6,
    "start": "2026-04-29 09:09:27.648404"
}

STDOUT:

Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies.......


STDERR:

[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path '.vendor'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'libvirt:journald'`, and stop using this flag
Bundler could not find compatible versions for gem "pulpcore_client":
  In snapshot (Gemfile.lock):
    pulpcore_client (= 3.85.15)

  In Gemfile:
    katello was resolved to 4.21.0.pre.master, which depends on
      pulpcore_client (>= 3.105.0, < 3.106.0)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.


MSG:

non-zero return code

PLAY RECAP **********************************************************************************************************************************************************************************
localhost                  : ok=149  changed=8    unreachable=0    failed=1    skipped=25   rescued=0    ignored=0   

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