From: Henry Maddocks Date: 2013-03-07T09:17:34+09:00 Subject: Re: version 2.0.0, what has replaced scan? On 7/03/2013, at 1:08 PM, David Bush wrote: > A friend wrote a brief Ruby script (attached) which downloads game files > from a website. It worked for 1.7, but not for 2.0. Here is the error I > get: > > david@achernar:~/games/Twixt/sw$ ruby ./getgame.rb 1522422 1522423 > 1522424 1522431 > ./getgame.rb:91:in `getPlayer1': undefined method `scan' for > nil:NilClass (NoMethodError) It isn't a difference between Ruby versions. You are trying to call scan on nil, this has never worked. Show us the code and we might have a better idea of your problem. Henry