From: Pepe Pew Date: 2012-08-29T12:46:02+09:00 Subject: What Really is Happening? Hello, I need your help. I just made the file "analyzer.rb" and placed on a folder. This file has the code: line_count = 0 File.open("text.txt").each { |line| line_count += 1 } puts line_count I tried to run it by CMD, but it doesn't oppened the "text.txt" file. "analyzer.rb" and "text.txt" are on the same folder. I am sending the CMD error that shows when I press to execute the "analyzer.rb" file. Could someone help me? Thank you very much! Attachments: http://www.ruby-forum.com/attachment/7702/CMDerror.jpg http://www.ruby-forum.com/attachment/7703/analyzer.rb http://www.ruby-forum.com/attachment/7704/text.txt -- Posted via http://www.ruby-forum.com/.