Skip to content

Add Gemfile.lock to .gitignore - #69

Merged
olleolleolle merged 1 commit into
ruby:masterfrom
kanutocd:ignore-gemfile-lock
Jul 29, 2026
Merged

Add Gemfile.lock to .gitignore#69
olleolleolle merged 1 commit into
ruby:masterfrom
kanutocd:ignore-gemfile-lock

Conversation

@kanutocd

Copy link
Copy Markdown
Contributor

Summary

Ignore Gemfile.lock in the repository.

bundle install generates Gemfile.lock, but the repository does not track it. Ignoring the generated lockfile keeps the working tree clean after the standard development setup.

Before

$ bundle install
$ git status

Untracked files:
  Gemfile.lock

After

$ bundle install
$ git status

nothing to commit, working tree clean

@olleolleolle
olleolleolle merged commit fb1afc2 into ruby:master Jul 29, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants