Injecting configuration and compiling...
Injecting scraper and running...
Getting 'thisweek' data, changable via MORPH_PERIOD environment
scraper.rb:18:in `clean_whitespace': undefined method `gsub' for nil:NilClass (NoMethodError)
from scraper.rb:38:in `block in scrape_table'
from /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:239:in `block in each'
from /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:238:in `upto'
from /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:238:in `each'
from scraper.rb:31:in `scrape_table'
from scraper.rb:61:in `<main>'