add these dirs for rails project : log ,vendor,tmp, public,lib and necessary files