upload rails directory