diff --git a/vendor/rails/activesupport/lib/active_support/core_ext/string/unicode.rb b/vendor/rails/activesupport/lib/active_support/core_ext/string/unicode.rb index 844f7de..8532cc4 100644 --- a/vendor/rails/activesupport/lib/active_support/core_ext/string/unicode.rb +++ b/vendor/rails/activesupport/lib/active_support/core_ext/string/unicode.rb @@ -4,7 +4,7 @@ module ActiveSupport #:nodoc: # Define methods for handling unicode data. module Unicode def self.included(base) - if '1.8.7'.respond_to?(:chars) + if RUBY_VERSION == '1.8.7' && '1.8.7'.respond_to?(:chars) base.class_eval { remove_method :chars } end end -- libgit2 0.21.2