Am 29.10.2012 09:05, schrieb Soichi Ishida:

> 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


-- 
<https://github.com/stomar/>