Skip to content

Instantly share code, notes, and snippets.

@jumski
Last active March 1, 2017 20:07
Show Gist options
  • Save jumski/5589710 to your computer and use it in GitHub Desktop.
Save jumski/5589710 to your computer and use it in GitHub Desktop.
working zeus.json and fixes custom_plan.rb for zeus 0.13.3.rc2
require 'zeus/rails'
class CustomPlan < Zeus::Rails
def rspec
RSpec::Core::Runner.disable_autorun!
exit RSpec::Core::Runner.run(ARGV)
end
end
{
"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": ["testrb"], "rspec": []}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment