1

I've recently discovered Zeus and it's fantastic really speeds up my feedback loop when developing it's just that when I'm making changes to my model like adding a new method Zeus doesn't restart and the new method isn't loaded.

I'm not sure where to start debugging but I'm using Rails 4.0.2, ruby 2.0.0p353 and Rspec + Capybara for testing.

Anyone have any ideas or help that would be fantastic.

Thanks a lot

user827570
  • 491
  • 1
  • 8
  • 15

1 Answers1

1

If you are using unicorn this could be your problem. Try using thin instead

Zeus: Reloads models correctly when modifying callbacks and scopes, which is not always the case for servers with hot-reload, such as Unicorn. It also reloads views when writing integration specs.(source)

You may also need to reconfigure foreman. Check this thread for information on foreman support with Zeus: https://github.com/burke/zeus/issues/92

Kieran Andrews
  • 5,845
  • 2
  • 33
  • 57