Out of the box the system installed Ruby v2.0.0 is selected so if you want the latest and greatest version please specify it in your
circle.yml like so:
dependencies: pre: - echo "2.3.1" > .ruby-version
or checking a
.ruby-version file into your repo. You can easily create one by running the same command in your repos directory with
echo "2.3.1" > .ruby-version and then check it in with
git add .ruby-version && git commit -am "Added .ruby-version file"
The available versions out of the box are:
1. chruby --system 2. chruby 2.1.9 3. chruby 2.2.5 4. chruby 2.3.1
, but you can always install a newer version with
ruby-install like this:
dependencies: pre: - sudo ruby-install ruby --HEAD
If you run into any issues please feel free to let our support team know.