From: Soichi Ishida Date: 2012-10-29T18:26:06+09:00 Subject: Re: csv.rb:1342:in `initialize': No such file or directory >> dir = "~/Dropbox/Ruby/FlightLuggage/" >> file = "airport.csv" >> filename = dir + file > > this should also work (cross platform): > > filename = File.expand_path(dir + file) > > or use Dir.home Oh, thanks! soichi -- Posted via http://www.ruby-forum.com/.