I want to write a application that works in windows and linux. but I have a path problem because windows use \"\\\" and Linux use \"/\" .how can I solve this problem. thanks
Take a look at File.join: http://www.ruby-doc.org/core/classes/File.html#M000031