Is there a way to keep using ruby 1.9.3-p551 by migrating from 1.0 to circleci 2.0?
I think the docker does not have this old version, maybe by using the machine: true and by installing the rvm, I did not find any solution in the docs for this…
In CircleCI 2.0 you can use any base image you want. So if an old version of Ruby is not available, download it in your build process from source (all old ones are available) and compile it.
If that is a very lengthy process then create a separate build process to create an “old Ruby” image and then push that to a registry, and you can then use that in your main build process. I favour using Alpine as a base image, as it is small and produces small images, but build on whatever you like.
You don’t need to use the Machine executor for this.