fix .gitignore and gemfile