The Enunciate project, used by the FamilySearch API engineers,
generates the Ruby data model and has a bug in that it declares the
constants inside of each module rather than in a separate file
(Identity, FamilyTree, etc.). It doesn't break anything, but emits a
warning.
As a workaround/hack, I did the following:
with_warnings_suppressed do
require 'ruby-fs-stack/enunciate/familytree'
end
the with_warnings_suppressed method is found here:
https://github.com/jimmyz/ruby-fs-stack/blob/master/lib/ruby-fs-stack/warning_suppressor.rb
So, that is why it doesn't show up in Ruby 1.8 or 1.9. I don't know
how to suppress the warnings in jRuby.
--
Jimmy Z