Skip to content

Instantly share code, notes, and snippets.

@joel
Created October 16, 2012 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joel/3898372 to your computer and use it in GitHub Desktop.
Save joel/3898372 to your computer and use it in GitHub Desktop.
Make a Ruby Gem
http://guides.rubygems.org/make-your-own-gem/
rvm use ruby-1.9.3-p0@lorem --create
echo "rvm use ruby-1.9.3-p0@lorem --create" >> lorem/.rvmrc
bundle gem lorem
gem build lorem.gemspec
git tag -a v0.0.1 -m 'version 0.0.1'
git push --tags
gem push lorem-0.0.1.gem
cd ~/project/path
gem install ~/gem/path/lorem-0.0.1.gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment