fix ruby line ending with comma