update gem source and set mongodb config for production