RUBY_ENGINE was originally added so that library authors could check which implementation they were using. RUBY_ENGINE_VERSION is a companion variable which can be used by authors to check which version of that implementation is being used.
RUBY_ENGINE_VERSION # => "1.7.20"