-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi,
When running the gem install command, gem install debase, I get the following:
Building native extensions. This could take a while...
ERROR: Error installing debase:
ERROR: Failed to build gem native extension.
current directory: /Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debase-0.2.4.1/ext
/Users/samer.hamood/.rbenv/versions/3.1.2/bin/ruby -I /Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/site_ruby/3.1.0 extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
**************************************************************************
No source for ruby-3.1.2-p20 (revision 4491bb740a9506d76391ac44bb2fe6e483fec952) provided with
debase-ruby_core_source gem. Falling back to ruby-3.1.0-p0.
**************************************************************************
checking for vm_core.h... yes
checking for iseq.h... no
Makefile creation failed
*************************************************************
NOTE: If your headers were not found, try passing
--with-ruby-include=PATH_TO_HEADERS
*************************************************************
*** 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=/Users/samer.hamood/.rbenv/versions/3.1.2/bin/$(RUBY_BASE_NAME)
--with-ruby-dir
--without-ruby-dir
--with-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
--with-vm_core-dir
--without-vm_core-dir
--with-vm_core-include
--without-vm_core-include=${vm_core-dir}/include
--with-vm_core-lib
--without-vm_core-lib=${vm_core-dir}/lib
--with-iseq-dir
--without-iseq-dir
--with-iseq-include
--without-iseq-include=${iseq-dir}/include
--with-iseq-lib
--without-iseq-lib=${iseq-dir}/lib
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/extensions/arm64-darwin-21/3.1.0/debase-0.2.4.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debase-0.2.4.1 for inspection.
Results logged to /Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/extensions/arm64-darwin-21/3.1.0/debase-0.2.4.1/gem_make.out
How can I resolve this?
My goal is to get the RubyMine debugger working again, which stopped after I updated this morning to Ventura (wish I hadn't):
/Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debase-3.0.0.beta.6/lib/debase.rb:4:in `require': cannot load such file -- debase_internals (LoadError)
from /Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debase-3.0.0.beta.6/lib/debase.rb:4:in `<top (required)>'
from /Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/ruby-debug-ide-3.0.0.beta.5/lib/ruby-debug-ide.rb:5:in `require'
from /Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/ruby-debug-ide-3.0.0.beta.5/lib/ruby-debug-ide.rb:5:in `<top (required)>'
from /Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/ruby-debug-ide-3.0.0.beta.5/bin/rdebug-ide:26:in `require'
from /Users/samer.hamood/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/ruby-debug-ide-3.0.0.beta.5/bin/rdebug-ide:26:in `<main>'
Thanks for your help.
bjonnh-work, Jamie5, tfidfwastaken, HLFH, coupa-gexinsun and 1 more
Metadata
Metadata
Assignees
Labels
No labels