-
-
Save jayroh/314003 to your computer and use it in GitHub Desktop.
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
$ cd nextbus/ | |
$ git init | |
$ vim .gitignore | |
# add files to be ignored | |
$ git add . | |
$ git commit -m 'Initial commit' | |
# setup github repo, adding collaborator(s) | |
$ git remote add origin [email protected]:neweryankee/nextbus.git | |
$ git push origin master | |
$ vim Rakefile | |
# update Rakefile to instantiate a Jeweler::Tasks with project details | |
$ git add Rakefile | |
$ git commit -m 'Jeweler::Tasks in Rakefile' | |
$ rake -T | |
$ rake version:write # generates VERSION file at 0.0.0 and commit | |
$ rake gemspec | |
$ vim nextbus.gemspec | |
# update gemspec as needed | |
$ git add nextbus.gemspec | |
$ git commit -m 'Gemspec file' | |
$ vim LICENSE | |
# add license content | |
$ vim README.rdoc | |
# add readme content | |
$ rake gemspec # gemspec will inventory new license and readme files | |
$ git add . | |
$ git commit -m 'License and readme' | |
$ sudo rake install | |
$ cd ../ # move outside the current directory to test | |
$ irb | |
# require 'rubygems' | |
# require 'nextbus' | |
# Nextbus::Agency.all | |
$ cd nextbus/ | |
$ git push origin master | |
$ rake git:release | |
$ rake gemcutter:release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment