Hello. I am trying to setup a Ruby gem in CircleCI 2.0 with circleci/ruby-2.2.2 as the executor image, but I am unable to find an image with this Ruby version.
I tried:
version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.2.2
working_directory: ~/repo
and I get:
.circleci/config.yml is valid
real 0m1.269s
user 0m0.152s
sys 0m0.068s
====>> Spin up Environment
Build-agent version 0.0.5895-01cdb92 (2018-05-29T20:07:10+0000)
Starting container circleci/ruby:2.2.2
image cache not found on this host, downloading circleci/ruby:2.2.2
Error: Error response from daemon: manifest for circleci/ruby:2.2.2 not found
I tried several images from here:
https://hub.docker.com/r/circleci/ruby/tags/
And I also tried adding a step:
- run:
name: Set Ruby Version
command: echo "ruby-2.2.2" > ~/.ruby-version
But that also failed.
Thank you