Use ruby to list all files

I want to use a local copy of the gem in a computer that does not have
git