Skip to content

Instantly share code, notes, and snippets.

## MAC OS
.DS_Store
## TEXTMATE
*.tmproj
tmtags
## EMACS
*~
\#*
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "nextbus"
gem.summary = %Q{NextBus API client}
gem.description = %Q{NextBus API client}
gem.email = "gsterndale@gmail.com"
gem.homepage = "http://github.com/neweryankee/nextbus"
gem.authors = ["Greg"]
@neweryankee
neweryankee / nextbus.bash
Created February 23, 2010 21:11
NextBus gem from existing project
$ 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 git@github.com:neweryankee/nextbus.git
$ git push origin master
$ vim Rakefile
@neweryankee
neweryankee / Build-a-gem bash
Created February 18, 2010 20:12
NextBus gem from scratch
$ 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 .