Bash yourself multiple times
Here's a quick Bash trick. Run command line commands multiple times:
for i in `seq #{run_how_many_times}`; do #{command_to_run}; doneExample:
for i in `seq 10`; do rspec spec; doneThis is super helpful in debugging tests with intermittent failures.