interpreter
Rails 2.0 with Ruby 1.8.7
Wolfram Arnold — Sat, 05/30/2009 - 02:24
The Ruby 1.8.7 interpreter
$> ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
has a built-in method named "chars" which clashes with Rails 2.0's String extensions. The problem does not happen for Rails 2.1 or later.
The fix is simple. Add a file to config/initializers/ruby-1.8.7-string-workaround.rb as follows:


