I am upgrading our ruby to the latest version in the toolbox, from 3.3.7 to 3.4.4.
We have some ruby gems installed that use "digest/sha1" (even on the latest available gem version):
require 'digest/sha1'
On the older ruby version 3.3.7 from the toolbox this works (and the gems that use this also work)
# ruby -v
ruby 3.3.7 (2025-01-15 revision be31f993d7) [powerpc-aix7.1.0.0]
# ruby
require 'digest/sha1'
#
However when upgraded to the latest ruby 3.4.4 version from the toolbox this no longer works.
# ruby -v
ruby 3.4.4 (2025-05-14 revision a38531fd3f) +PRISM [powerpc-aix7.1.0.0]
# ruby
require 'digest/sha1'
<internal:/opt/freeware/share/ruby/3.4/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require': rb_digest_wrap_metadata not found (LoadError)
from <internal:/opt/freeware/share/ruby/3.4/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
from -:1:in '<main>'
#
It probably is not ideal to be using digest/sha1, but it is what the gems we are using require, and it should work? I don't believe the function is deprecated in ruby?
Any help appreciated - we can't upgrade to this ruby version right now as the gems we need to install do not work with it.
Thanks,
Alan
------------------------------
Alan
------------------------------