Ignore Rails directories instead of their files