Skip to content

Instantly share code, notes, and snippets.

@joel
Created October 16, 2012 09:43

Revisions

  1. joel created this gist Oct 16, 2012.
    13 changes: 13 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    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