Can't install ruby-debug-ide19

derefed's Avatar

derefed

16 Mar, 2012 04:14 AM

I'm trying to install the ruby-debug-ide19 gem so that I can use the debugger in Aptana, but gem installation always fails with the same errors. I've run gem update and I'm using Ruby 1.9.3 through RVM on Linux Mint 12.

$ gem install ruby-debug-ide19
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-debug-ide19:
    ERROR: Failed to build gem native extension.

          /home/derefed/.rvm/rubies/ruby-1.9.3-head/bin/ruby extconf.rb
checking for vm_core.h... no
/home/derefed/.rvm/gems/ruby-1.9.3-head/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h... no
*** 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/derefed/.rvm/rubies/ruby-1.9.3-head/bin/ruby
    --with-ruby-dir
    --without-ruby-dir
    --with-ruby-include
    --without-ruby-include=${ruby-dir}/include
    --with-ruby-lib
    --without-ruby-lib=${ruby-dir}/lib
/home/derefed/.rvm/gems/ruby-1.9.3-head/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:268:in `block (2 levels) in read': Looking for http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p163.tar.gz and all I got was a 404! (URI::NotFoundError)
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:1322:in `block (2 levels) in transport_request'
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:2671:in `reading_body'
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:1321:in `block in transport_request'
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:1316:in `catch'
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:1316:in `transport_request'
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:1293:in `request'
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:1286:in `block in request'
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:745:in `start'
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:1284:in `request'
    from /home/derefed/.rvm/gems/ruby-1.9.3-head/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:239:in `block in read'
    from /home/derefed/.rvm/gems/ruby-1.9.3-head/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:286:in `connect'
    from /home/derefed/.rvm/gems/ruby-1.9.3-head/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:234:in `read'
    from /home/derefed/.rvm/gems/ruby-1.9.3-head/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:128:in `download'
    from /home/derefed/.rvm/gems/ruby-1.9.3-head/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:55:in `block in create_makefile_with_core'
    from /home/derefed/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/tempfile.rb:320:in `open'
    from /home/derefed/.rvm/gems/ruby-1.9.3-head/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:51:in `create_makefile_with_core'
    from extconf.rb:19:in `<main>'
Requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p163.tar.gz


Gem files will remain installed in /home/derefed/.rvm/gems/ruby-1.9.3-head/gems/linecache19-0.5.12 for inspection.
Results logged to /home/derefed/.rvm/gems/ruby-1.9.3-head/gems/linecache19-0.5.12/ext/trace_nums/gem_make.out
  1. Support Staff 1 Posted by Nick Quaranto on 04 Aug, 2012 06:33 PM

    Nick Quaranto's Avatar

    Sorry, this comment was buried in our spam inbox.

    Is this still happening?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Oct, 2014 04:34 PM
30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM