fleetlint Policy for a fleet of repositories
v0.5
Getting started

repo/lockfile-committed/ruby

Dependency lockfile is committed

Implements repo/lockfile-committed for ruby.

Severityerror
Tiers1, 2
Stacksruby
Scopeeach
Kindexpr
Sourcelibrary v0.2.0
Selected byfleetlint-recommended@v0.2.0

Requirement

Gemfile.lock is tracked when there is a Gemfile.

Why

Builds are reproducible only when dependency versions are pinned in git.

Check

"Gemfile.lock" in tracked() || !file("Gemfile")

Fix

Run bundle lock and commit Gemfile.lock.

Agent instruction: Run the package manager to produce the lockfile, remove any .gitignore entry for it, and commit it.

See: https://fleetlint.org/baseline/#dependencies, https://fleetlint.org/stacks/#ruby


Generated by fleetlint docs from catalog v0.2.0.