Fix test on linux when ruby not installed