License & distribute commercial Ruby gems
Securely license and distribute private Ruby gems with a single API.
Want to explore Keygen? Try the demo
Ready, set, ship
From license keys to gem distribution, we've got you covered. Dive in with Keygen Cloud, or explore our self-hosted options.
- Protect your gem with our flagship software licensing API. Add feature entitlements, restrict upgrades to specific version ranges, enforce server- and CPU-based activation limits, and more.
- Use our software distribution API as a private Ruby gem source. Distribute your private Ruby gems to licensed users using
gem installorbundler.
export KEYGEN_LICENSE_KEY='7CCFB6-71878A-68C03D-D104C6-07E3BA-V3' cat ./Gemfile key = ENV.fetch('KEYGEN_LICENSE_KEY') source "https://license:#{key}@rubygems.pkg.keygen.sh/demo" do gem 'private_gem', '~> 1.0' end bundle# => Successfully installed private_gem-1.0.0# => Parsing documentation for private_gem-1.0.0# => Installing ri documentation for private_gem-1.0.0# => Done installing documentation for private_gem after 0 seconds# => 1 gem installedTrusted by over 6,000 software businesses all over the worldincluding F1000s, AI startups, SMBs, and indies









Solutions for licensing & distribution
dns Choice
Managed Keygen Cloud, or explore self-hosting.
library_books Quickstarts
Guides and API references for developers of all skill levels.
insert_chart Portal
Manage your products from an intuitive dashboard.
business Pricing
From indie to enterprise, we have options for everyone.