Hi, I don't know if the wikipedia schema changed or whrat, but I get this error (all other RB example files I've tried work perfectly - you're AMAZING! Inspired me so much!)
$ ruby wikipedia_links_to_philosophy.rb
Wa'el Nassar
/Users/ricc/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/mechanize-2.8.5/lib/mechanize/page/link.rb:24:in `initialize': undefined method `[]' for nil:NilClass (NoMethodError)
@href = node['href']
^^^^^^^^
from wikipedia_links_to_philosophy.rb:85:in `new'
from wikipedia_links_to_philosophy.rb:85:in `follow_first_link'
from wikipedia_links_to_philosophy.rb:143:in `run'
from wikipedia_links_to_philosophy.rb:159:in `<main>'
$ ruby --version
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
Hi, I don't know if the wikipedia schema changed or whrat, but I get this error (all other RB example files I've tried work perfectly - you're AMAZING! Inspired me so much!)
mechanize version: -2.8.5 ruby version