For openSUSE Leap 15.3 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:ruby:extensions/openSUSE_Leap_15.3/devel:languages:ruby:extensions.repo
zypper refresh
zypper install rubygem-sprockets
For SLE 15 SP4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:ruby:extensions/SLE_15_SP4/devel:languages:ruby:extensions.repo
zypper refresh
zypper install rubygem-sprockets
For SLE 15 SP3 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:ruby:extensions/SLE_15_SP3/devel:languages:ruby:extensions.repo
zypper refresh
zypper install rubygem-sprockets
For SLE 15 SP2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:ruby:extensions/SLE_15_SP2/devel:languages:ruby:extensions.repo
zypper refresh
zypper install rubygem-sprockets