Skip to content

Instantly share code, notes, and snippets.

Created December 17, 2012 01:50
Show Gist options
  • Save anonymous/4315228 to your computer and use it in GitHub Desktop.
Save anonymous/4315228 to your computer and use it in GitHub Desktop.
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'rspec', :version => 2 do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment