Created
May 29, 2010 20:35
-
-
Save stungeye/418534 to your computer and use it in GitHub Desktop.
Using Jeweler to Build a Gem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install jeweler | |
jeweler gem_name --testunit | |
cd gem_name | |
touch lib/gem_name.rb <unless you already have code, in which case move it to /lib> | |
rake version:write | |
git add <any new files> | |
git commit -m 'Existing files added' | |
git remote add origin git@github.com:stungeye/gem_name.git | |
git push origin master | |
# Write the library... | |
rake test | |
rake version:bump:minor | |
rake build | |
gem push pkg/gem_name.git | |
git tag -a v0.1.0 -m 'version 0.1.0' | |
git push --tags | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment