Skip to content

Instantly share code, notes, and snippets.

@techpeace
Created November 20, 2008 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techpeace/27143 to your computer and use it in GitHub Desktop.
Save techpeace/27143 to your computer and use it in GitHub Desktop.
namespace :check do
desc "Check to make sure you haven't left any 'debugger' calls lying around."
task :debugger do
%w{app lib spec test}.each do |dir|
puts `ack debugger #{dir}`
puts `ack 'ruby-debug' #{dir}`
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment