guard 'bundler' do watch('Gemfile') watch(/^.+\.gemspec/) end guard 'rspec' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { "spec" } watch('spec/spec_helper.rb') { "spec" } watch(%r{^spec/(support|matchers|shared)/(.+)\.rb$}) { "spec" } end