- Build the gem
$ gem build knife-softlayer.gemspec
Successfully built RubyGem
Name: knife-softlayer
Version: 0.4.6
File: knife-softlayer-0.4.6.gem
- Push the gem to RubyGem
$ gem push knife-softlayer-0.4.6.gem
Enter your RubyGems.org credentials.
Don't have an account yet? Create one at https://rubygems.org/sign_up
Email: USERNAME
Password:
Signed in.
Pushing gem to https://rubygems.org...
Successfully registered gem: knife-softlayer (0.4.6)