One-liner during Ruby prototyping

Run this in a separate shell when rapid-prototyping a ruby program:

$ while sleep 10; do git add .; bundle exec rspec -f p && git commit -m 'Checkpoint'; done