added reg distribution ruby file, modified gitignore.