Skip to content

Instantly share code, notes, and snippets.

@spo11
Created September 10, 2013 13:11
Show Gist options
  • Save spo11/6509193 to your computer and use it in GitHub Desktop.
Save spo11/6509193 to your computer and use it in GitHub Desktop.
My zeus stuff.
require 'zeus/rails'
class CustomPlan < Zeus::Rails
# def my_custom_command
# # see https://github.com/burke/zeus/blob/master/docs/ruby/modifying.md
# end
end
Zeus.plan = CustomPlan.new
{
"command": "ruby -rubygems -r./custom_plan -eZeus.go",
"plan": {
"boot": {
"default_bundle": {
"development_environment": {
"prerake": {"rake": []},
"console": ["c"],
"server": ["foreman start"],
"generate": ["g"],
"dbconsole": []
},
"test_environment": {
"test_helper": {"test": ["rspec"]}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment