rake tasks failing with segmentation fault, ruby version 2.4.4
I am building one package on Alpine-ppc64le which needs ruby. I have
installed ruby using “apk add”.
To debug I need “debugger” gem to get installed, however I am unable to
get that installed.
bash-4.4# ruby -v
ruby 2.4.4p296 (2018-03-28 revision 63013) [powerpc64le-linux-musl]
bash-4.4# gem install ‘debugger’
Building native extensions. This could take a while…
ERROR: Error installing debugger:
ERROR: Failed to build gem native extension.
current directory:
/usr/lib/ruby/gems/2.4.0/gems/debugger-1.6.8/ext/ruby_debug
/usr/bin/ruby -r ./siteconf20180427-3066-ipkdn.rb extconf.rb
* extconf.rb failed*
Is there any way we can resolve this issue ?
Also tried upgrading the version of Ruby, however the pkg list page of
alpine registry shows latest version of ruby as 2.4.4 itself
(http://dl-4.alpinelinux.org/alpine/v3.7/community/ppc64le/).
Is there a way to install later version of ruby OR any alternate way to
resolve this issue?
Thanks,
Meghali
(from redmine: issue id 8848, created on 2018-04-27)