Macbook:tools curcuru$ ruby ./site-scan.rb sites.json pods.json
~/src/whimsy/lib/whimsy/asf/committee.rb:428:in `pmcs': undefined method
`-' for nil:NilClass (NoMethodError)
from ./site-scan.rb:198:in `<main>'
Help? Is this related to the issue with the whimsy asf gem wrong
version / not using things from source / wrong path or whatever sebb and
rubys have been investigating?
Macbook:tools curcuru$ irb
irb(main):001:0> require_relative "../lib/whimsy/asf"
=> true
irb(main):002:0> x = ASF::Committee.load_committee_info
=> nil
irb(main):003:0> committees = (ASF::Committee.pmcs +
ASF::Committee.nonpmcs).uniq
NoMethodError: undefined method `-' for nil:NilClass
from /Users/curcuru/src/g/whimsy/lib/whimsy/asf/committee.rb:428:in
`pmcs'
from (irb):3
from /usr/local/bin/irb:11:in `<main>'
irb(main):004:0>
I'm trying to simplify site-scan.rb, but want to be able to test it
locally before I check anything in...
--
- Shane
Director & Member
The Apache Software Foundation