-
Notifications
You must be signed in to change notification settings - Fork 6
Publishing to RubyGems
swaroopsm edited this page Dec 18, 2014
·
1 revision
Following are the steps to publish to http://rubygems.org.
- Make sure all tests pass by running
rspec
on the terminal - Build the gem using
gem build fusioncharts-rails.gemspec
. This will create a filename called:fusioncharts-rails-<version>.gem
- Publish the gem by:
gem push fusioncharts-rails-<version>.gem
. This will ask to authenticate with your http://rubygems.org email and password.
Note: You can add additional owners to the gem http://guides.rubygems.org/command-reference/#gem-owner.
Eg.: gem owner fusioncharts-rails -k <api_key> -a <email>
The api-key can be retrieved at ~/.gem/credentials