-# From https://www.ruby-lang.org/en/news/2014/11/13/ruby-2-1-5-is-released/
-sha256 4305cc6ceb094df55210d83548dcbeb5117d74eea25196a9b14fa268d354b100 ruby-2.1.5.tar.gz
+# From https://www.ruby-lang.org/en/news/2015/03/03/ruby-2-2-1-released/
+sha256 3b2852c07fdc12d0ba2b5698c7587ae2b46141539a526d143da5860b55a626c0 ruby-2.2.1.tar.xz
#
################################################################################
-RUBY_VERSION_MAJOR = 2.1
-RUBY_VERSION = $(RUBY_VERSION_MAJOR).5
-RUBY_VERSION_EXT = 2.1.0
+RUBY_VERSION_MAJOR = 2.2
+RUBY_VERSION = $(RUBY_VERSION_MAJOR).1
+RUBY_VERSION_EXT = 2.2.0
RUBY_SITE = http://cache.ruby-lang.org/pub/ruby/$(RUBY_VERSION_MAJOR)
+RUBY_SOURCE = ruby-$(RUBY_VERSION).tar.xz
RUBY_DEPENDENCIES = host-pkgconf host-ruby
HOST_RUBY_DEPENDENCIES = host-pkgconf
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)