Skip to content

Instantly share code, notes, and snippets.

@antonio
Created March 10, 2013 11:41
Show Gist options
  • Save antonio/5128256 to your computer and use it in GitHub Desktop.
Save antonio/5128256 to your computer and use it in GitHub Desktop.
Fix notifications when guard runs on top of zeus
require 'zeus/rails'
require 'guard'
require 'guard/cli'
class CustomPlan < Zeus::Rails
def guard
Guard::CLI.start
end
end
Zeus.plan = CustomPlan.new
{
"command": "ruby -rubygems -r./custom_plan -eZeus.go",
"plan": {
"boot": {
"default_bundle": {
"development_environment": {
"prerake": {"rake": []},
"runner": ["r"],
"console": ["c"],
"server": ["s"],
"generate": ["g"],
"destroy": ["d"],
"dbconsole": []
},
"test_environment": {
"test_helper": {"test": ["rspec"]},
"guard": ["guard"]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment