rvm - gem install ruby-debug19 - *** extconf.rb failed *** -
i blew away , re-installed rvm
fix issues.
now, however, when try , install ruby-debug19
get:
$ gem install ruby-debug19 ... ... building native extensions. take while... error: error installing ruby-debug19: error: failed build gem native extension. /users/snowcrash/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150619-25075-s8ve57.rb extconf.rb checking vm_core.h... no *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. 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=/users/snowcrash/.rvm/rubies/ruby-2.2.1/bin/$(ruby_base_name) --with-ruby-dir --without-ruby-dir --with-ruby-include --without-ruby-include=${ruby-dir}/include --with-ruby-lib --without-ruby-lib=${ruby-dir}/lib /users/snowcrash/.rvm/gems/ruby-2.2.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39:in `create_makefile_with_core': uninitialized constant ruby_core_source::config (nameerror) extconf.rb:19:in `<main>' extconf failed, exit code 1 gem files remain installed in /users/snowcrash/.rvm/gems/ruby-2.2.1/gems/linecache19-0.5.12 inspection. results logged /users/snowcrash/.rvm/gems/ruby-2.2.1/extensions/x86_64-darwin-14/2.2.0-static/linecache19-0.5.12/gem_make.out
and log contains these lines.
any suggestions?
ruby-debug19 works on ruby 1.9. ruby 2.0 , above use byebug.
gem install byebug
Comments
Post a Comment