Skip to content

Add Gemfile.lock to .gitignore#69

Open
kanutocd wants to merge 1 commit into
ruby:masterfrom
kanutocd:ignore-gemfile-lock
Open

Add Gemfile.lock to .gitignore#69
kanutocd wants to merge 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

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.

1 participant