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

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.