added ruby version using REST API rather than SSH