swap ruby files