jana4u opened this issue January 08, 2012 undefined method `flush' for nil:NilClass (NoMethodError) raised when running Google example Running Google example from https://github.com/tenderlove/mechanize/blob/master/EXAMPLES.rdoc using mechanize 2.1 raises exception. I tried both ruby 1.8.7 and 1.9.2 with same results. c:\Projects\ruby\mechanize>ruby google.rb C:/Ruby187/lib/ruby/gems/1.8/gems/mech