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
Start Juggernaut and Redis with rails app
370 views Asked by Sam Baumgarten At
1
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
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.