Fetching: byebug-9.0.6.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing byebug:
ERROR: Failed to build gem native extension.
current directory: vendor/bundle/jruby/2.5.0/gems/byebug-9.0.6/ext/byebug
make "DESTDIR=" clean
current directory: vendor/bundle/jruby/2.5.0/gems/byebug-9.0.6/ext/byebug
make "DESTDIR="
make: *** No rule to make target 'vendor/jruby/lib/ruby/include/ruby/ruby.h', needed by 'threads.o'. Stop.
make failed, exit code 2
Gem files will remain installed in vendor/bundle/jruby/2.5.0/gems/byebug-9.0.6 for inspection.
Results logged to vendor/bundle/jruby/2.5.0/extensions/universal-java-11/2.5.0/byebug-9.0.6/gem_make.out
Getting ERROR on JRuby environment
please help on it. How to install gem in JRuby.
ERROR :
Fetching: byebug-9.0.6.gem (100%) Building native extensions. This could take a while... ERROR: Error installing byebug: ERROR: Failed to build gem native extension.
vendor/jruby/bin/jruby -r ./siteconf20200625-23387-1wmouey.rb extconf.rb creating Makefile
current directory: vendor/bundle/jruby/2.5.0/gems/byebug-9.0.6/ext/byebug make "DESTDIR=" clean
current directory: vendor/bundle/jruby/2.5.0/gems/byebug-9.0.6/ext/byebug make "DESTDIR=" make: *** No rule to make target 'vendor/jruby/lib/ruby/include/ruby/ruby.h', needed by 'threads.o'. Stop.
make failed, exit code 2
Gem files will remain installed in vendor/bundle/jruby/2.5.0/gems/byebug-9.0.6 for inspection. Results logged to vendor/bundle/jruby/2.5.0/extensions/universal-java-11/2.5.0/byebug-9.0.6/gem_make.out