diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index 9c4643dd34a..4f3878e2761 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -68,7 +68,7 @@ update_check() { rx='href="\K[\d\.]+(?=/")';; *rubygems.org*) url="https://rubygems.org/gems/${pkgname#ruby-}" - rx='versions/\K[\d\.]+' ;; + rx='href="/gems/'${pkgname#ruby-}'/versions/\K[\d\.]*(?=")' ;; esac fi