Pregunta

I'm developing a app with Ruby on Rails. It uses juggernaut. Is there anyway I can get redis and juggernaut to start when I run rails server. thanks

¿Fue útil?

Solución

Yes, but a better way is to use software designed for the purpose, such as Foreman. It's a Ruby program for running and monitoring processes alongside your web app and is very easy to configure, plus it exports to upstart and init, either of which you're likely to be using in production. Take a look, I think you'll like it.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top