Ruby doesn't include the URI library by default.  It might be included somewhere else and therefore not throw an error if removed.  But if it's removed somewhere else it will break here.