---
title: "Why cannot I use RVM?"
date: "2025-05-08T09:19:06+00:00"
summary: "Discover why RVM fails and how to switch to rbenv for seamless Ruby version management in your build process."
image:
type: "article"
url: "/acquia-cloud-platform/help/68951-why-cannot-i-use-rvm"
id: "71b0409b-00ef-4daa-bd91-b3dc633bd7f3"
---

If your YAML build definition invokes `rvm` (Ruby Version Manager), you will run into errors. To work around the issue, you need to switch your build to using `rbenv` instead. [Rbenv](https://github.com/rbenv/rbenv) is a lightweight and more developer-friendly option to switch between Ruby versions.

To continue using different versions of Ruby, replace any instances of `rvm` in your YAML build definition with equivalent `rbenv` commands.

*   `rvm install x.x.x` becomes `rbenv install x.x.x`.
*   `rvm use x.x.x` becomes `rbenv global x.x.x` or `rbenv local x.x.x` depending on the desired behavior.