You are not closing the File properly . There seems to be a quote too many at the end . The whole line based iteration can be simplified File . foreach ' voterinfo . txt ' do line if line . include ? string puts This person has already voted # else puts ' This person has not voted . ' end end <| sep |> getting online now <| sep |> hey thanks man , i ' ll try learn after effects or something and edit future stuff <| sep |> It ' s like the Italy of the East Eastaly , if you will . <| sep |> I ' d consider Acton to be a relatively safe , well connected area , surprised that it ' s 200300 cheaper than Canning Town which is at the arse end of town and a total shithole . <| sep |> wrxs are a better choice until they update the sti engine <| sep |> Their black Friday sale was Thursday only .