Getting rvm: command not found Action failed: set ruby version to 2.2.2

CircleCI supported Ruby version for OSX. You can check here: How to use Ruby on the OS X machines.