Adding this to environment.rb before the Radiant::Initializer.run do line
makes it work on 1.8.7:
unless '1.9'.respond_to?(:force_encoding)
String.class_eval do
begin
remove_method :chars
rescue NameError
# OK
end
end
end
I don't remember who gave me that from this list but
What's the trick to modifying existing pages (For example, in the admin
pages, I want it to say something other than Radiant CMS)? Do I have to
modify them in the gem or can my extensions override? An example of how to
do that would be great!
Also without any customizations to the basic project
)
String.class_eval do
begin
remove_method :chars
rescue NameError
# OK
end
end
end
to your environment.rb and you'll be fine. Someone on the list also solved
it by installing ruby enterprise edition, which is Ruby 1.8.6 compatible.
Michael
On 28 Nov 2008, at 7:47 PM, Robert