रूबी-डीबग-विचार रूबी 2.0 के साथ उबंटू पर स्थापित करने में विफल रहता है - रूबी, मणि, रूबीगेम्स

मुझे यकीन नहीं है कि क्यों, लेकिन मेरे उबंटू वीएम में पिछले कई महीनों से रूबी-डिबग-आईड को स्थापित करने के लिए कोई समस्या नहीं थी। vagrant destroy फिर एक vagrant up और अचानक मुझे यह नया मुद्दा मिल रहा है।

इसी तरह के मुद्दों और समाधान वाले अन्य सभी डेवलपर्स ने मुझे कोई समाधान नहीं दिया है जो मेरी स्थापना के लिए काम करते हैं। मैं नहीं जानता कि इस बिंदु पर क्या करना है। कृपया मदद करें!

[email protected]:~$ gem install ruby-debug-ide
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-2.0.0-p576/bin/ruby mkrf_conf.rb
Installing base gem
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...
ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-2.0.0-p576/bin/ruby extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
Makefile creation failed
**************************************************************************
No source for ruby-2.0.0-p576 provided with debugger-ruby_core_source gem.
**************************************************************************
*** 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
--without-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=/usr/local/rvm/rubies/ruby-2.0.0-p576/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}/

extconf failed, exit code 1

Gem files will remain installed in /usr/local/rvm/gems/ruby-2.0.0-p576/gems/debase-0.0.9 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.0.0-p576/extensions/x86_64-linux/2.0.0/debase-0.0.9/gem_make.out
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:89:in `run"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/ext_conf_builder.rb:38:in `block in build"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/2.0.0/tempfile.rb:324:in `open"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/ext_conf_builder.rb:17:in `build"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:161:in `block (2 levels) in build_extension"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:160:in `chdir"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:160:in `block in build_extension"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:159:in `synchronize"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:159:in `build_extension"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:198:in `block in build_extensions"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:195:in `each"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:195:in `build_extensions"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/installer.rb:677:in `build_extensions"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/installer.rb:232:in `install"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/request_set.rb:142:in `block in install"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/request_set.rb:126:in `each"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/request_set.rb:126:in `install"
/usr/local/rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/dependency_installer.rb:389:in `install"
mkrf_conf.rb:34:in `rescue in <main>"
mkrf_conf.rb:27:in `<main>"

rake failed, exit code 1

Gem files will remain installed in /usr/local/rvm/gems/ruby-2.0.0-p576/gems/ruby-debug-ide-0.4.22 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.0.0-p576/extensions/x86_64-linux/2.0.0/ruby-debug-ide-0.4.22/gem_make.out

उत्तर:

जवाब के लिए 3 № 1

मुझे आज भी यही समस्या थीdebugger-ruby_core_source (डीबगर के तरीके से, रूबी-डिबग-विचार नहीं)। मैंने अपना रूबी संस्करण 2.0.0-p481 में बदल दिया। उसके बाद डिबगर- ruby_core_source अपेक्षानुसार स्थापित हो गया।


संबंधित सवाल
सबसे लोकप्रिय