I want to ignore some of my files (/config/environments/production.rb , /webrat.log , /config/database.yml ). My gitignore:

```
/.bundle
/db/*.sqlite3
/doc/
*.rbc
*.sassc
.sass-cache
capybara-*.html
.rspec
/vendor/bundle
/log/*
/tmp/*
/public/system/*
/coverage/
/spec/tmp/*
**.orig
rerun.txt
pickle-email-*.html

/config/environments/production.rb
/config/*.yml
/*.log

```

But this doesn't work. What's wrong?