One questionable point is "RUBY_PKGPREFIX and RUBY_VERSION for ruby21", former is "ruby212" and later is "21". From some logics and comments in lang/ruby/rubyversion.mk, moreover new version scheme introduced in ruby-2.1.x, I feel that RUBY_PREFIX for ruby21 should be "ruby21".