Use File.join use join path components.