Forum: Ruby how do i load ActiveSupport::Multibyte

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
John G. (Guest)
on 2009-01-19 02:32
Hi, i'm trying to use this method...

require 'active_support'

class String
  def translit
{ |e| e.length > 1 }.join

and everytime i run it, it crashes out with ...

`load_missing_constant': uninitialized constant
ActiveSupport::Multibyte::Handlers (NameError)
  from filter.rb:35

Now i've got active_support loaded so i should have access to the
Multibyte library, but obviously it needs something else, so how do i
work out what this dependency is and load it?

any ideas?
This topic is locked and can not be replied to.