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}; done
Example:
for i in `seq 10`; do rspec spec; done
This is super helpful in debugging tests with intermittent failures.