Skip to content

Add *.gem to .gitignore#240

Open
koic wants to merge 1 commit intomodelcontextprotocol:mainfrom
koic:add_wildcard_gem_to_dot_gitignore
Open

Add *.gem to .gitignore#240
koic wants to merge 1 commit intomodelcontextprotocol:mainfrom
koic:add_wildcard_gem_to_dot_gitignore

Conversation

@koic
Copy link
Member

@koic koic commented Feb 26, 2026

Motivation and Context

gem build mcp.gemspec outputs the built gem into the working directory (e.g. mcp-0.7.1.gem) rather than pkg/, which is already ignored.
Without this entry, the file shows up as an untracked file and risks being accidentally staged and committed during release preparation or local development.

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

`gem build mcp.gemspec` outputs the built gem into the working directory (e.g. mcp-0.7.1.gem)
rather than pkg/, which is already ignored.
Without this entry, the file shows up as an untracked file and risks being accidentally
staged and committed during release preparation or local development.
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