Probably the easiest way is to use Spork and then simplify your Guardfile:
# Guardfile guard 'rspec', :version => 2, :cli => '--drb' do
This will cause something to appear in the spec folder when something in the spec , app or routes.rb changes as soon as you save it and saves you a ton of time.
Use the labels growl (mac) or libnotify (linux) for pop-up notifications. Then you simply enter the code into your editor, and soon after each save you will receive a pop-up error / failure message. If this is a pass, you just continue coding - if it is not a failure, you go to the terminal and check what the error is.
source share