Adding ruby and version explicitly, writing before script commands.