Posix locales in ruby?

Hi,

any idea how localise ruby applications by locales settings on posix
systems ? At least localized formating of numerics, date & time,
currency and string collation ? Based on environment settings
LC_NUMERIC, LC_TIME, LC_MONETARY, LC_COLLATE etc.

In Python there is locale
library(locale — Internationalization services — Python 3.11.4 documentation) so I can simply call
setlocale(LC_ALL, “”) and from now on most of library functions return
localised values, strings are collated by current locale settings etc.

So are there some solutions for current Ruby 1.9.x ?