Skip to content

Instantly share code, notes, and snippets.

@joel
Created June 11, 2012 09:25
Show Gist options
  • Save joel/2909289 to your computer and use it in GitHub Desktop.
Save joel/2909289 to your computer and use it in GitHub Desktop.
Make You Own 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