Skip to content

Instantly share code, notes, and snippets.

@williamherry
Created October 8, 2012 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save williamherry/3850315 to your computer and use it in GitHub Desktop.
Save williamherry/3850315 to your computer and use it in GitHub Desktop.
install ruby-debug fail
william@desktop:~$ gem install ruby-debug
WARNING: Error fetching data: SocketError: getaddrinfo: Name or service not known (http://rubygems.org/latest_specs.4.8.gz)
WARNING: Error fetching data: SocketError: getaddrinfo: Name or service not known (http://rubygems.org/specs.4.8.gz)
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.
/home/william/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
Can't handle 1.9.x yet
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/william/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
Gem files will remain installed in /home/william/.rvm/gems/ruby-1.9.3-p194/gems/linecache-0.46 for inspection.
Results logged to /home/william/.rvm/gems/ruby-1.9.3-p194/gems/linecache-0.46/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment