revamp gemfile, add osx system files to .gitignore