ruby-on-railsredisjuggernaut

Start Juggernaut and Redis with rails app


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


Solution

  • 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.