- RubyGems: https://rubygems.org/sign_up
- Go to https://rubygems.org/profile/edit
- Click "API Keys" tab
- Create a new API key with appropriate permissions
- Copy the API key
gem signin
# Enter your RubyGems credentials when promptedOr manually create ~/.gem/credentials:
---
:rubygems_api_key: your_api_key_herecd ruby
bundle install --path vendor/bundlecd ruby
bundle exec rake release:drycd ruby
bundle exec rake release # patch version
bundle exec rake release:minor # minor version
bundle exec rake release:major # major versionpatch: 0.1.0 → 0.1.1 (bug fixes)minor: 0.1.0 → 0.2.0 (new features)major: 0.1.0 → 1.0.0 (breaking changes)
cd ruby
bundle exec rake speccd ruby
bundle exec rake examplecd ruby
bundle exec rubocopcd ruby
gem build garde_fou.gemspeccd ruby
gem push garde_fou-*.gem# Install from RubyGems
gem install garde_fou
# Test it works
ruby -e "require 'gardefou'; puts '✅ Works!'"- RubyGems: https://rubygems.org/gems/garde_fou
✅ Automated workflow - bundle exec rake release
✅ Automatic version bumping - No conflicts
✅ Git integration - Auto-commit and tag
✅ Code quality checks - RuboCop and RSpec
✅ Professional workflow - Industry standard
✅ Multiple calling patterns - Ruby-idiomatic API