added gitignore and tree.rb uses absolute path instead of locate