Skip to content

Instantly share code, notes, and snippets.

@misfo
Created March 6, 2009 17:52
Show Gist options
  • Save misfo/74993 to your computer and use it in GitHub Desktop.
Save misfo/74993 to your computer and use it in GitHub Desktop.
namespace :deploy do
[:cold, :start, :stop].each {|t| task(t) { raise_not_implemented } }
namespace :web do
[:enable, :disable].each {|t| task(t) { raise_not_implemented } }
end
def raise_not_implemented
raise "This task isn't implemented"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment