At C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/i18n_railtie.rb:53 I have

(rdb:1) pp I18n.load_path
["C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/locale/en.yml",
 "C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activemodel-3.1.1/lib/active_model/locale/en.yml",
 "C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/activerecord-3.1.1/lib/active_record/locale/en.yml",
 "C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/actionpack-3.1.1/lib/action_view/locale/en.yml",
 []]

 As you can see I have an empty array as the last element of the outer array.

 Something put it there.

I'm looking for suggestions on how to find what put it there.  So ...

1) How can I find what created I18n.load_path ?

2) Is there a way to find what is adding things to it?


At C:\RailsInstaller\Ruby1.9.2\lib\ruby\gems\1.9.1\gems\i18n-0.6.0\lib\i18n.rb I see

    # Write methods which delegates to the configuration object
    %w(locale backend default_locale available_locales default_separator
      exception_handler load_path).each do |method|
      module_eval <<-DELEGATORS, __FILE__, __LINE__ + 1
        def #{method}
          config.#{method}
        end

        def #{method}=(value)
          config.#{method} = (value)
        end
      DELEGATORS
    end

and I _think_ this code is adding to the list of I18n.load_path.

The code is soooo far above my pay grade.  What in blazes is it doing?

Ralph Shnelar