I use Redmine (http://www.redmine.org/) on a VPS (RimuHosting). Pretty easy to setup even for a Java developer who's barely looked at Ruby or RoR (like me).
This question has been asked before: you might have a look at the archives. I use Redmine, github's thing, Google code... depending on the project. It doesn't matter all that much. If you want something in-house, Redmine or Trac are both ok.