How Zeus works?
Zeus preloads your Rails app so that your normal development tasks such as
Install
Zeus preloads your Rails app so that your normal development tasks such as
console
, server
,generate
, and specs/tests take less than one second.Install
Install the gem.
gem install zeus
A: No. You can, but running
bundle exec zeus
instead of zeus
adds precious seconds to commands that otherwise would be quite a bit faster. Zeus was built to be run from outside of bundler.Usage
Start the server:
zeus start
The server will print a list of available commands.
Run some commands in another shell:
zeus console
zeus server
zeus test test/unit/widget_test.rb
zeus test spec/widget_spec.rb
zeus generate model omg
zeus rake -T
zeus runner omg.rb
No comments:
Post a Comment