Ruby, gem and Bundler
Set up gem install
Make packages.example.com the only gem source for gem install.
Add ForgeRepo™ as a source, then remove rubygems.org, so every gem comes through packages.example.com:
gem sources --add "https://your-user-name:${REPO_TOKEN}@packages.example.com/rubygems/"
gem sources --remove https://rubygems.org/
Careful
gem saves the source address, token included, in ~/.gemrc. Use a token made for that machine, and never commit the file.