Skip to content

Instantly share code, notes, and snippets.

@DeltaWhy
Created March 14, 2013 20:03
Show Gist options
  • Select an option

  • Save DeltaWhy/5164696 to your computer and use it in GitHub Desktop.

Select an option

Save DeltaWhy/5164696 to your computer and use it in GitHub Desktop.
Run rspec before commit
#!/bin/zsh --login
# save as .git/hooks/pre-commit
source .rvmrc
bundle exec rspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment