I have another problem also:


File.open("genver.txt", 'r').each do |x|
  puts x
end

The file contains:
v4

But 'puts x' outputs ÿþv Nul4 Nul
-- 
Posted via http://www.ruby-forum.com/.