diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2015-04-13 22:56:47 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2015-04-13 22:56:47 -0500 |
commit | 33ea933d7bf6db1534a7a5752c7942a8dc89bd8a (patch) | |
tree | 3ccb6639f7e47df55e1961d5c8025009fe4b5b92 /railties | |
parent | 8ac458ad2e252ba041d9f4e42b94bd5997a622be (diff) | |
parent | 32f7491808d2c4e097ed7b3ee875e4d1cea8c442 (diff) | |
download | rails-33ea933d7bf6db1534a7a5752c7942a8dc89bd8a.tar.gz rails-33ea933d7bf6db1534a7a5752c7942a8dc89bd8a.tar.bz2 rails-33ea933d7bf6db1534a7a5752c7942a8dc89bd8a.zip |
Merge pull request #19753 from jonatack/use-ruby-2-2-2
Upgrade to Ruby 2.2.2
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/ruby_version_check.rb | 6 | ||||
-rw-r--r-- | railties/railties.gemspec | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails/ruby_version_check.rb b/railties/lib/rails/ruby_version_check.rb index 9131c51e91..67a19d8a94 100644 --- a/railties/lib/rails/ruby_version_check.rb +++ b/railties/lib/rails/ruby_version_check.rb @@ -1,13 +1,13 @@ -if RUBY_VERSION < '2.2.1' && RUBY_ENGINE == 'ruby' +if RUBY_VERSION < '2.2.2' && RUBY_ENGINE == 'ruby' desc = defined?(RUBY_DESCRIPTION) ? RUBY_DESCRIPTION : "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})" abort <<-end_message - Rails 5 requires to run on Ruby 2.2.1 or newer. + Rails 5 requires Ruby 2.2.2 or newer. You're running #{desc} - Please upgrade to Ruby 2.2.1 or newer to continue. + Please upgrade to Ruby 2.2.2 or newer to continue. end_message end diff --git a/railties/railties.gemspec b/railties/railties.gemspec index 7cb1f1a49c..afe1603448 100644 --- a/railties/railties.gemspec +++ b/railties/railties.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |s| s.summary = 'Tools for creating, working with, and running Rails applications.' s.description = 'Rails internals: application bootup, plugins, generators, and rake tasks.' - s.required_ruby_version = '>= 2.2.1' + s.required_ruby_version = '>= 2.2.2' s.license = 'MIT' |