Russian president ratifies gas pipeline via Turkey