# Gem installation

**URL:** <https://www.ruby-forum.com/t/gem-installation/122476>\
**Category:** Ruby\
**Created:** [December 7, 2007, 10:05pm UTC](https://www.ruby-forum.com/t/gem-installation/122476 "2007-12-07T22:05:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DK05](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3e96dc/32.png) [@DK05](https://www.ruby-forum.com/u/DK05)\
**Post date:** [December 7, 2007, 10:05pm UTC](https://www.ruby-forum.com/t/gem-installation/122476/1 "2007-12-07T22:05:58Z")

</div>

sorry to bring this up, but i’m trying to install gems but am having  
inconsistent results. Some do, some don’t. I’ve tried setting the http  
env variable and using -p to account for proxy setting. still get  
ERROR: While executing gem…(Gem::RemoteFetcher::Fetcherror)  
getaddrinfo: no address associated with hostname. (SocketError)

I’m obviously new and googled my brains out, but can’t seem to bring  
things together.

Any suggestions would be greatly appreciated
