1 2 3 4 5 6 7 8
#!/bin/bash sudo mongod & R CMD Rserve GEMPATH=$(gem path nano-lazar) cd $GEMPATH unicorn -c unicorn.rb -E production -D exit 0