Closed Intelligent2013 closed 4 years ago
Maybe it's an incompatibility between byebug and Ruby 2.7... Not sure if there is anything we can do?
@ronaldtse I'll try to install Ruby 2.6.
Install Ruby 2.6. Same error:
Fetching parser 2.7.1.1
Installing parser 2.7.1.1
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
C:/Metanorma/repositories/mathml2asciimath/vendor/bundle/ruby/2.6.0/gems/byebug-9.1.0/ext/byebug
C:/Ruby26-x64/bin/ruby.exe -I C:/Ruby26-x64/lib/ruby/2.6.0 -r
./siteconf20200623-5348-xc4eo1.rb extconf.rb
creating Makefile
current directory:
C:/Metanorma/repositories/mathml2asciimath/vendor/bundle/ruby/2.6.0/gems/byebug-9.1.0/ext/byebug
make "DESTDIR=" clean
current directory:
C:/Metanorma/repositories/mathml2asciimath/vendor/bundle/ruby/2.6.0/gems/byebug-9.1.0/ext/byebug
make "DESTDIR="
make failedNo such file or directory - make "DESTDIR="
Gem files will remain installed in
C:/Metanorma/repositories/mathml2asciimath/vendor/bundle/ruby/2.6.0/gems/byebug-9.1.0
for inspection.
Results logged to
C:/Metanorma/repositories/mathml2asciimath/vendor/bundle/ruby/2.6.0/extensions/x64-mingw32/2.6.0/byebug-9.1.0/gem_make.out
An error occurred while installing byebug (9.1.0), and Bundler cannot continue.
Make sure that `gem install byebug -v '9.1.0' --source 'https://rubygems.org/'`
succeeds before bundling.
In Gemfile:
byebug
Solved. Ruby should be installed with Devkit.
Platform: Win7 x64 Ruby: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x64-mingw32]
I'm trying to run mathml2asciimath in my local environment, but when run
bundle install --jobs 4 --retry 3
failed:What did I do wrong and how can I fix it? Thank you.