The following line in the spec defines the cache to download from: `Source0: https://cache.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz`. For up to Ruby 2.6, e.g. Ruby 2.6.6, it generates the following URL that works: `https://cache.ruby-lang.org/pub/ruby/ruby-2.6.6.tar.gz`. For Ruby 2.7 onwards, e.g. Ruby 2.7.2, the URL doesn't exist, and it should instead be: `https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.gz`.
The following line in the spec defines the cache to download from:
Source0: https://cache.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz.For up to Ruby 2.6, e.g. Ruby 2.6.6, it generates the following URL that works:
https://cache.ruby-lang.org/pub/ruby/ruby-2.6.6.tar.gz.For Ruby 2.7 onwards, e.g. Ruby 2.7.2, the URL doesn't exist, and it should instead be:
https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.gz.