I suspect BOM.

Try:
  $ od -tx1z test.rb

-- 
Posted via http://www.ruby-forum.com/.