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

pierre alexis cantegril
pierre alexis cantegril
5,955 Points

Cannot install RVM

When I copy the first command to install RVM I get the following error message:

gpg: keyserver receive failed: No keyserver available

Anyone knows what is going wrong?

1 Answer

Jay McGavren
STAFF
Jay McGavren
Treehouse Teacher

Try following the suggestions in this thread. If none of them work, please copy and paste the commands you tried and the output you got into this thread. Good luck!

Bei Zhang
Bei Zhang
Courses Plus Student 7,113 Points

i also failed to install 2.3.1 i have tried for hours. Hope to get your help. i use google to find help, but the more i read, the more confused i be. following is my installing process:

201-34-48-103:~ evecharlotte$ rvm install 2.3.1
ruby-2.3.1 - #removing src/ruby-2.3.1..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.12/x86_64/ruby-2.3.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/evecharlotte/.rvm/rubies/ruby-2.3.1, this may take a while depending on your cpu(s)...
ruby-2.3.1 - #downloading ruby-2.3.1, this may take a while depending on your connection...
ruby-2.3.1 - #extracting ruby-2.3.1 to /Users/evecharlotte/.rvm/src/ruby-2.3.1.-
ruby-2.3.1 - #configuring......................................................|
ruby-2.3.1 - #post-configuration.
ruby-2.3.1 - #compiling........................................................-
ruby-2.3.1 - #installing........
Error running '__rvm_make install',
showing last 15 lines of /Users/evecharlotte/.rvm/log/1503816859_ruby-2.3.1/install.log
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/security.rb:12:in `<top (required)>'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/package.rb:44:in `<top (required)>'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/installer.rb:10:in `<top (required)>'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/evecharlotte/.rvm/src/ruby-2.3.1/lib/rubygems/core_ext/kernel_require.rb:55:in `require'
    from ./tool/rbinstall.rb:657:in `<module:RbInstall>'
    from ./tool/rbinstall.rb:585:in `<main>'
make: *** [do-install-nodoc] Error 1
++ return 2
There has been an error while running make install. Halting the installation.
Jay McGavren
Jay McGavren
Treehouse Teacher

@Bei Zhang try following the steps shown here and post the output you get in this thread.