Ruby:2.3 image contains ruby 2.3.4 was expecting 2.3.0


I need to build with ruby 2.3.0, so I wrote my config.yml like this

      - image: circleci/ruby:2.3

However that image contains ruby 2.3.4. I logged into the container to check:

circleci@ebd07f7af653:~$ ruby --version
ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]

Just to be sure I pulled the image and did docker inspect

        "Id": "sha256:af9f9f1bf901d497e87bb1742f8a29680dbf6123362d0eadb8b884430f531b64",
        "RepoTags": [
        "RepoDigests": [
            "Env": [

So my build fails with Your Ruby version is 2.3.4, but your Gemfile specified 2.3.0

Is it expected for the 2.3 image to contain ruby-2.3.4? If so, then why is there a different image tagged with 2.3.4?

Should I give up on the docker image and try the machine executor instead?


hey man. how did you fix this? I am having the same issue. Your Ruby version is 2.3.6, but your Gemfile specified 2.3.0


@devrc-trise’s issue was fixed here: Wrong ruby version installed CircleCi 2