add proxy support for gem and ruby installs