Releasing The Gem - RiverGlide/CukeSalad GitHub Wiki
We host the CukeSalad gem on rubygems.org. Here's the basic process to make that happen:
- Write tests for your changes. Make them pass. Refactor and make your code a joy to read.
- Run all the tests with
rake
. If they pass: - Build the gem locally using
rake build
- Install the gem on your local system using
rake install
... - ... or
gem install /path/to/cukesalad/pkg/cukesalad.gem
- Test out the gem locally. If all looks good:
- Bump the version number in
lib/cukesalad/version.rb
- Update the description field in the
cukesalad.gemspec
file. Tell people what's new in this version. - Generate the RDoc documentation using
rake rdoc
(do we need to do this manually?) - Release the gem to rubygems.org using
rake release
(you'll need~/.gem/credentials
in order to push as RiverGlide to rubygems.org)