[api] don't hardcode ruby1.9