mongodb connection in ruby app is incorrectly sourced

Fixed mongodb connection environment variable hook