From: Pen Ttt Date: 2010-08-15T16:13:29+09:00 Subject: how to sove the loaderror? please run the following program in irb,you can get 1.in irb,you can see wrong,/tmp/AACC => [#, #, #] 2.there are two files in /tmp YHOO AACC it is strange for me to save the code into /tmp/test.rb,and pt@pt-laptop:~$ ruby /tmp/test.rb ruby: No such file or directory -- /tmp/test.rb (LoadError) please do it ,you will get what i say the code is: require 'rubygems' require 'net/http' threads = [] str=%w(http://table.finance.yahoo.com/table.csv?s=ALP/N http://table.finance.yahoo.com/table.csv?s=YHOO http://table.finance.yahoo.com/table.csv?s=AACC) for page_to_fetch in str threads<e puts "wrong,#{@@myfile}" end } any advices appreciated. -- Posted via http://www.ruby-forum.com/.