Skip to main content

Using RVM in a GoCD Agent

RVM cannot be used directly in a GoCD agent, because the agent uses a non-interactive shell when running jobs.

Instead, pass the RVM shell script to the bash command to load RVM in the GoCD agent:

/bin/bash -c "rvm 2.4.0 do bundle install"