Problem in Updating Gems

Try this:
gem install foobar -p http://your.pro.xy.ip:8080