J
Jeffrey Bowen
require 'csv'
lane_data =
CSV.read('/usr/prod/lanedata/testinfofile')
lane1 = lane.find_all { |lane| lane[0] =~ /"lane 1"/ }
printf "%2s %2s \n", laura[0][0], laura[0][1]
The above code works in SciTE. But in Linux I get
"csv_test.rb:2: undefined method `read' for CSV:Class
(NoMethodError)"
Could it be different version leaves and if so how do
I get the versions? I tried "gem list" but the
command is not found.
Jeff
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC
lane_data =
CSV.read('/usr/prod/lanedata/testinfofile')
lane1 = lane.find_all { |lane| lane[0] =~ /"lane 1"/ }
printf "%2s %2s \n", laura[0][0], laura[0][1]
The above code works in SciTE. But in Linux I get
"csv_test.rb:2: undefined method `read' for CSV:Class
(NoMethodError)"
Could it be different version leaves and if so how do
I get the versions? I tried "gem list" but the
command is not found.
Jeff
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC