fix scope error on specs and add gitignore line