Created
February 18, 2010 20:12
-
-
Save neweryankee/308000 to your computer and use it in GitHub Desktop.
NextBus gem from scratch
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
$ jeweler nextbus --testunit --summary 'NextBus API client' --description 'NextBus API client' | |
$ cd nextbus/ | |
$ bundle init | |
# Specify required gems and versions in Gemfile | |
$ bundle install | |
$ bundle lock | |
$ git add . | |
$ git ci -m 'Specify required gems and lock versions' | |
$ bundle pack | |
$ git add . | |
$ git ci -m 'Pack .gem files' | |
# Add Bundler requirement in test helper | |
$ git ci -a -m 'Require Bundler in test helper' | |
# Add Bundler requirement in application | |
$ git ci -a -m 'Require Bundler first thing in application code' | |
$ rake version:write | |
$ rake gemspec | |
$ git add . | |
$ git ci -m 'Gemspec' | |
# Setup github repo | |
$ git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment