Skip to content

Instantly share code, notes, and snippets.

@twerth
Created February 1, 2012 15:27
Show Gist options
  • Save twerth/1717529 to your computer and use it in GitHub Desktop.
Save twerth/1717529 to your computer and use it in GitHub Desktop.
Spin setup
# Spin
#
# Install:
# > gem install spin
# > gem install kicker -s http://gemcutter.org
#
# You need 2 processes going, to run:
# > spin
# > spin_kicker
#
# If you don't have the highlight script, you can get it here: https://github.com/twerth/dotfiles/blob/master/bin/highlight
# or just remove the highlight section
+alias spin="spin serve -Itest | highlight red ' [1-9]0* failures' purple '[_a-zA-Z0-9]*\.rb.[0-9]*' red 'Error:' red 'Failure:' red ' [1-9]0* errors' green ' 0 errors' green ' 0 failures'"
+alias spin_kicker="kicker -r rails -b 'spin push'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment