package gems and fix init.d stop process