Oye

A continuous monitoring tool that does a few things:

1. listens for changes in bare git repos
2. updates cloned repos when the corresponding bare repo changes
3. restarts the rails app with the new code

[ ] use multithreaading. each thread should watch a unique repo. [ ] run rails tests inside Oye.monitor [ ] check for irregularities in @repos, e.g two repeated cloned repos [ ] give warning if port is not open use port_open? method

  • also you should remove the '--port' option. instead specify the port in unicorn.rb