Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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