Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Installing Rails on Mac

Frank-Oliver Heemeyer
Frank-Oliver Heemeyer
2,560 Points

Unable to install rvm

Terminal error messages:

gpgkeys: HTTP fetch error 7: Failed to connect to keys.gnupg.net port 11371: Connection refused
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: Unknown host
gpg: keyserver communications error: No public key
gpg: keyserver receive failed: No public key

This solution helped me bypass the "Connection refused" issue.

Replace gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 with curl -sSL https://rvm.io/mpapis.asc | gpg --import - then proceed to \curl -sSL https://get.rvm.io | bash -s stable

1 Answer

Frank-Oliver Heemeyer
Frank-Oliver Heemeyer
2,560 Points

Hi Eric,

thanx a lot! And happy new year to you and your family! Best Frank