aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorGenadi Samokovarov <gsamokovarov@gmail.com>2015-03-05 15:53:49 +0200
committerGenadi Samokovarov <gsamokovarov@gmail.com>2015-03-05 17:39:22 +0200
commit8ed0b89bbdfa73740e00ddb2a001e0df947b6ef9 (patch)
tree1fab48935117807011e1b13125b5d20ba1d4d9ba /railties/lib/rails
parentd969405acd98a6e6b39391e45fc3803fd3f26d32 (diff)
downloadrails-8ed0b89bbdfa73740e00ddb2a001e0df947b6ef9.tar.gz
rails-8ed0b89bbdfa73740e00ddb2a001e0df947b6ef9.tar.bz2
rails-8ed0b89bbdfa73740e00ddb2a001e0df947b6ef9.zip
Revert work arounds for upstream Ruby 2.2.0 kwargs bug
The bug caused a segfault and you can find more info about it at: https://bugs.ruby-lang.org/issues/10685. We did a couple of work arounds, but 2.2.1 rolled out and those aren't needed anymore. Here are the reverted commits: - Revert "Work around for upstream Ruby bug #10685", commit 707a433870e9e06af688f85a4aedc64a90791a64. - Revert "Fix segmentation fault in ActionPack tests", commit 22e0a22d5f98e162290d9820891d8191e720ad3b. I'm also bumping the Ruby version check to 2.2.1 to prevent future segfaults.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/ruby_version_check.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/ruby_version_check.rb b/railties/lib/rails/ruby_version_check.rb
index e2a199ec4d..9131c51e91 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.0' && RUBY_ENGINE == 'ruby'
+if RUBY_VERSION < '2.2.1' && 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.0 or newer.
+ Rails 5 requires to run on Ruby 2.2.1 or newer.
You're running
#{desc}
- Please upgrade to Ruby 2.2.0 or newer to continue.
+ Please upgrade to Ruby 2.2.1 or newer to continue.
end_message
end