Prevent Ruby from installing

Is there a way to prevent Ruby from installing if a Gemfile is present? I’m using Docker so I don’t need it installed in the container.

Here is the test section of my circle.yml.

    - docker-compose run app bundle exec rspec
    - docker-compose run app rubycritic --mode-ci
    - docker stop $(docker ps -aq)

Bump. I would love to figure this out as well.

1 Like