From 0f1da1cb5cfac1343958daef4c5e7c37a9ce0da3 Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Mon, 9 Nov 2009 11:33:47 -0800 Subject: Revert "Bundle I18n 0.2.0." This reverts commit 83f329f5f30567a10bc96410da230bf986db8ad4. --- activesupport/lib/active_support/core_ext/string/interpolation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/core_ext') diff --git a/activesupport/lib/active_support/core_ext/string/interpolation.rb b/activesupport/lib/active_support/core_ext/string/interpolation.rb index c4a5c0ca35..d9159b690a 100644 --- a/activesupport/lib/active_support/core_ext/string/interpolation.rb +++ b/activesupport/lib/active_support/core_ext/string/interpolation.rb @@ -5,7 +5,7 @@ You may redistribute it and/or modify it under the same license terms as Ruby. =end -if RUBY_VERSION < '1.9' && !"".respond_to?(:interpolate_without_ruby_19_syntax) +if RUBY_VERSION < '1.9' require 'active_support/core_ext/string/bytesize' # KeyError is raised by String#% when the string contains a named placeholder -- cgit v1.2.3