using a secondary gems repository

How do I configure my Rails project to look for gems in a secondary gems repository. I imagine I should add something to config/environment.rb, but I can’t seem to figure it out.