Comments (2)
Got the same error on WSL and found below one and worked. Add it to the Gemfile and run 'bundle install'
gem 'debase', '~> 0.2.5.beta2', require: false
from debase.
I'm importing like suggested above, but It still happing to me too (I'm use docker):
35.78
35.78 current directory: /usr/local/bundle/gems/ruby-debug-ide-0.7.3/ext
35.78 /usr/local/bin/ruby mkrf_conf.rb
35.78 Installing base gem
35.78 Building native extensions. This could take a while...
35.78 Building native extensions. This could take a while...
35.78 ERROR: Failed to build gem native extension.
35.78
35.78 current directory: /usr/local/bundle/gems/debase-0.2.5.beta2/ext/attach
35.78 /usr/local/bin/ruby -I /usr/local/lib/ruby/3.2.0 extconf.rb
35.78 checking for vm_core.h... no
35.78 checking for vm_core.h... no
35.78 **************************************************************************
35.78 No source for ruby-3.2.1-p31 (revision 31819e82c88c6f8ecfaeb162519bfa26a14b21fd)
35.78 provided with
35.78 debase-ruby_core_source gem. Falling back to ruby-3.2.0-p0.
35.78 **************************************************************************
35.78 checking for vm_core.h... yes
35.78 checking for iseq.h... yes
35.78 checking for version.h... no
35.78 Makefile creation failed
35.78 *************************************************************
35.78
35.78 NOTE: If your headers were not found, try passing
35.78 --with-ruby-include=PATH_TO_HEADERS
35.78
35.78 *************************************************************
35.78
35.78 *** extconf.rb failed ***
35.78 Could not create Makefile due to some reason, probably lack of necessary
35.78 libraries and/or headers. Check the mkmf.log file for more details. You may
35.78 need configuration options.
35.78
35.78 Provided configuration options:
35.78 --with-opt-dir
35.78 --without-opt-dir
35.78 --with-opt-include
35.78 --without-opt-include=${opt-dir}/include
35.78 --with-opt-lib
35.78 --without-opt-lib=${opt-dir}/lib
35.78 --with-make-prog
35.78 --without-make-prog
35.78 --srcdir=.
35.78 --curdir
35.78 --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
35.78 --with-ruby-dir
35.78 --without-ruby-dir
35.78 --with-ruby-include
35.78 --without-ruby-include=${ruby-dir}/include
35.78 --with-ruby-lib
35.78 --without-ruby-lib=${ruby-dir}/lib
35.78 --with-vm_core-dir
35.78 --without-vm_core-dir
35.78 --with-vm_core-include
35.78 --without-vm_core-include=${vm_core-dir}/include
35.78 --with-vm_core-lib
35.78 --without-vm_core-lib=${vm_core-dir}/lib
35.78 --with-iseq-dir
35.78 --without-iseq-dir
35.78 --with-iseq-include
35.78 --without-iseq-include=${iseq-dir}/include
35.78 --with-iseq-lib
35.78 --without-iseq-lib=${iseq-dir}/lib
35.78 --with-version-dir
35.78 --without-version-dir
35.78 --with-version-include
35.78 --without-version-include=${version-dir}/include
35.78 --with-version-lib
35.78 --without-version-lib=${version-dir}/lib
35.78
35.78 extconf failed, exit code 1
35.78
35.78 Gem files will remain installed in /usr/local/bundle/gems/debase-0.2.5.beta2 for
35.78 inspection.
35.78 Results logged to
35.78 /usr/local/bundle/extensions/aarch64-linux/3.2.0/debase-0.2.5.beta2/gem_make.out
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:102:in `run'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:28:in `build'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:170:in `build_extension'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:204:in `block in
35.78 build_extensions'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:201:in `each'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:201:in `build_extensions'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/installer.rb:843:in `build_extensions'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/installer.rb:326:in `install'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/resolver/specification.rb:104:in `install'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/request_set.rb:279:in `block in
35.78 install_into'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/request_set.rb:271:in `each'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/request_set.rb:271:in `install_into'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/request_set.rb:147:in `install'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/dependency_installer.rb:252:in `install'
35.78 mkrf_conf.rb:31:in `rescue in <main>'
35.78 mkrf_conf.rb:24:in `<main>'
35.78
35.78 rake failed, exit code 1
35.78
35.78 Gem files will remain installed in /usr/local/bundle/gems/ruby-debug-ide-0.7.3
35.78 for inspection.
35.78 Results logged to
35.78 /usr/local/bundle/extensions/aarch64-linux/3.2.0/ruby-debug-ide-0.7.3/gem_make.out
35.78
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:102:in `run'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/rake_builder.rb:11:in `build'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:170:in `build_extension'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:204:in `block in
35.78 build_extensions'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:201:in `each'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/ext/builder.rb:201:in `build_extensions'
35.78 /usr/local/lib/ruby/3.2.0/rubygems/installer.rb:843:in `build_extensions'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/rubygems_gem_installer.rb:72:in
35.78 `build_extensions'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/rubygems_gem_installer.rb:28:in
35.78 `install'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/source/rubygems.rb:198:in
35.78 `install'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:54:in
35.78 `install'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:16:in
35.78 `install_from_spec'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:156:in
35.78 `do_install'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:147:in
35.78 `block in worker_pool'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:62:in `apply_func'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:57:in `block in
35.78 process_queue'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:54:in `loop'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:54:in
35.78 `process_queue'
35.78 /usr/local/bundle/gems/bundler-2.4.12/lib/bundler/worker.rb:90:in `block (2
35.78 levels) in create_threads'
35.78
35.78 An error occurred while installing ruby-debug-ide (0.7.3), and Bundler cannot
35.78 continue.
35.78
35.78 In Gemfile:
35.78 ruby-debug-ide
------
To workarond that:
- Comment debabe gem import
- Build image (
docker compose build web
) - Remove comment
- Run bundle (
docker compose run web bundle install
)
from debase.
Related Issues (20)
- migrate tests to GHA HOT 1
- Debase failing to install on vscode Jekyll container HOT 1
- Failed to install in ruby docker image (vm_insnhelper.h missing) HOT 2
- Symbol not found: _rb_cObject on M1 Mac HOT 1
- Failed to install debase on Windows 10: is the new version for ruby-3.2.2 not releasing yet? HOT 3
- Deprecation warning: warning: $SAFE will become a normal global variable in Ruby 3.0 HOT 8
- Hash variables as string? HOT 2
- Ruby 2.7.1 compatibility HOT 4
- Won't install with ruby 2.6.6 on macOS Big Sur HOT 12
- ERROR: Failed to build gem native extension - Mac(Catalina)+RVM(ruby 2.5.8) HOT 5
- 0.2.4.1 and 0.2.5.beta Fail to build on macOS Catalina 10.15.7 HOT 15
- Ruby 3.0.0 compatibilty HOT 10
- Missing tags for 0.2.4 and 0.2.4.1 release HOT 1
- Ruby 3.0.2 compatibilty HOT 11
- Ruby 3.1 compatibility issue HOT 5
- Debugger stops only on 1st breakpoint inside a Fiber block and ignores all subsequent ones
- debase failing to install on Mac HOT 1
- Failed to install Debase HOT 7
- Debbuger steps into internal kernel in ruby 3.x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debase.