RVM is not supported.
If you are using RVM, then
puppet debugger wil not work due to a “feature” in Puppet. As a workaround, you can run
puppet-debugger executable but this works differently than the Puppet application
puppet debugger that is used in the examples below. You may want to try the Docker method instead if that is available to you.