Agent skill · software engineering · thebushidocollective

ruby-gems-bundler

Use when working with Ruby gems, Bundler for dependency management, creating gemspecs, and publishing gems to RubyGems.

Why this skill is useful

Provides specific commands and patterns for managing Ruby gems and Bundler that the AI wouldn't reliably generate on its own.

What it needs

Requires bundler, ruby installed locally. About 5k tokens when loaded. Last updated 2026-07-19. 187 stars on the source repository.

What this skill does

Ruby Gems and Bundler Master Ruby's package management system with gems and Bundler. Learn to manage dependencies, create gems, and publish to RubyGems. Bundler Basics Gemfile Version Constraints Bundler Commands Gemfile.lock The Gemfile.lock file locks gem versions for consistent installations: Creating Gems Gem Structure Gemspec Version File Main Library File Building and Publishing Build Gem Publish to RubyGems Versioning RubyGems Commands Gem Groups Gem Sources Requiring Gems Platform-Specific Gems Private Gems Using Private Gem Server Using Git Credentials Gem Development Using bundle console Running Tests Local Development Best Practices 1. Always commit Gemfile.lock to version control 2. Use pessimistic versioning (~>) for stability 3. Keep gems updated but test thoroughly 4. Use groups to separate dev/test/production gems 5. Specify Ruby version in Gemfile for consistency 6. Use bundle exec to ensure correct gem versions 7. Document gem dependencies and why they're needed 8. Test gems locally before publishing 9. Follow semantic versioning for your gems 10. Keep gemspecs clean and well-documented Anti-Patterns ❌ Don't commit vendor/bundle to git (use .gitignore) ❌ Don't use require: false unnecessarily - adds manual work ❌ Don't specify exact versions unless absolutely necessary ❌ Don't push untested gem versions to RubyGems ❌ Don't include unnecessary files in gem packages ❌ Don't hardcode credentials in gemspec or Gemfile Troubleshooting Related Skills ruby-oop - For structuring gem code ruby-metaprogramming - Used in many gems ruby-standard-library - Core Ruby functionality

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills thebushidocollective/ruby-gems-and-bundler

View the source on GitHub

Browse the @skills marketplace