We might have to do the indexing manually, I don't think this construct (each_line returning an enumerator) is supported on Ruby <= 1.8.6 and we try to be kind to e.g. https://github.com/mistydemeo/tigerbrew where this is important. /cc @mistydemeo