To build a new version of the gem:

rake build

To publish the built gem:

rake release