only use files starting with 0 to determine next id

TODO change to a better solution later on
update ruby, fix spec, add travis config