We looked at Trac but ended up using Redmine. I personally would have gone with Trac, as it has a far wider userbase, and has been out longer, but so far Redmine has been good, and it's an excellent example of how productive you can be with ruby on rails.