Skip to content

Instantly share code, notes, and snippets.

@theHamdiz
Created January 12, 2015 09:59
Show Gist options
  • Select an option

  • Save theHamdiz/e280cc44523956adf4ec to your computer and use it in GitHub Desktop.

Select an option

Save theHamdiz/e280cc44523956adf4ec to your computer and use it in GitHub Desktop.
Error building ruby on mac os x Yosemite 10.10.1
rvm install 2.2.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-2.2.0.
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/a7madx7/.rvm/rubies/ruby-2.2.0, this may take a while depending on your cpu(s)...
ruby-2.2.0 - #downloading ruby-2.2.0, this may take a while depending on your connection...
ruby-2.2.0 - #extracting ruby-2.2.0 to /Users/a7madx7/.rvm/src/ruby-2.2.0....
ruby-2.2.0 - #applying patch /Users/a7madx7/.rvm/patches/ruby/2.2.0/fix_installing_bundled_gems.patch.
ruby-2.2.0 - #configuring.....................................................
ruby-2.2.0 - #post-configuration.
ruby-2.2.0 - #compiling.......................................................
ruby-2.2.0 - #installing.............
Error running '__rvm_make install',
showing last 15 lines of /Users/a7madx7/.rvm/log/1421056561_ruby-2.2.0/install.log
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/spec_fetcher.rb:42:in `fetcher'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/resolver/installer_set.rb:37:in `initialize'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:430:in `new'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:430:in `resolve_dependencies'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems/dependency_installer.rb:373:in `install'
from /Users/a7madx7/.rvm/src/ruby-2.2.0/lib/rubygems.rb:558:in `install'
from ./tool/rbinstall.rb:717:in `block (2 levels) in <main>'
from ./tool/rbinstall.rb:716:in `each'
from ./tool/rbinstall.rb:716:in `block in <main>'
from ./tool/rbinstall.rb:749:in `call'
from ./tool/rbinstall.rb:749:in `block in <main>'
from ./tool/rbinstall.rb:746:in `each'
from ./tool/rbinstall.rb:746:in `<main>'
make: *** [do-install-nodoc] Error 1
++ return 2
There has been an error while running make install. Halting the installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment