From: "François Boone" Date: 2011-11-13T02:15:17+09:00 Subject: Re: Beginner: how to use gedcom parser Ryan Davis wrote in post #1031481: > On Nov 11, 2011, at 08:35 , François Boone wrote: > > I usually look at the tests. A quick glance at tests/parser_spec.rb > seems to have some usable examples. Thank you Ryan for your hint. However, it doesn't work What I did: I installed gedcom gem with: gem install gedcom All seems ok I use Ruby: $ruby --version ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.2.0] I try date_spec.rb: (from tests/date_spec.rb) $ ruby date_spec.rb and I get date_spec.rb:2:in `
': uninitialized constant GEDCOM (NameError) Do I miss something? What don't I understand? I am sorry if these questions are too basic. Thank you for replies. François -- Posted via http://www.ruby-forum.com/.