Auto-Start Juggernaut with Cucumber
If you use Juggernaut and Cucumber, many of your features can fail unless you have a Juggernaut server running. You can add the following to your features/support/env.rb to automatically start and stop Juggernaut when you run your features:
juggernaut = fork { exec 'juggernaut -c config/juggernaut.yml' }
at_exit { exec 'kill', juggernaut.to_s }