title: Git is not ignoring tmp files
body: <p>I'm having this annoying issue in a Ruby On Rails application where git keeps committing these <code>tmp/</code> files. In my <code>.gitignore</code> file, I have <code>tmp/</code> so I don't understand why they keep showing up...here is my <code>.gitignore</code> file for reference:</p>
  
  <pre><code># Ignore bundler config.
  /.bundle
  
  # Ignore the default SQLite database.
  /db/*.sqlite3
  /db/*.sqlite3-journal
  
  # Ignore all logfiles and tempfiles.
  /log/*.log
  /tmp/
  
  /public/system/*
  /vendor/cache/
  
  # OS generated cache files
  Thumbs.db
  DS_Store
  </code></pre>
  
  <p>It's just a minor issue that is getting annoying to my team and I on the repo. Thanks for any and all help!</p>