Pushing gems to rubygems
30 Mar 2022In your gem project run:
rake build
to create pkg/<gem-name>-0.1.0.gem
Then run
gem push pkg/<gem-name>-0.1.0.gem
This should ask you to sign in, if you’re not already. Sign in credentials are stored in ~/.gem/credentials
. So remove that if you want to “sign out” of rubygems.