tested with 2.5.0-5 from unstable
ruby2.5 -r rbconfig -e 'puts RbConfig::CONFIG["sysconfdir"]'
but on stable, ruby2.3 returns:
ruby2.3 -r rbconfig -e 'puts RbConfig::CONFIG["sysconfdir"]'
it means things like the gem command looks for /usr/etc/gemrc rather
than /etc/gemrc - which is definitely wrong.
A diff of RbConfig::CONFIG between 2.3 and 2.5 reveals other broken
I can't see anything that's changed in the Debian package recipes that
looks relevant so I guess this is a change in Ruby.
This commit back in October 2017 looks related, as it changes the code
to define sysconfgdir and adds prefixes to localstatedir and
Not sure if this should be fixed in Ruby or Debian though. Any ideas?