Cannot change RVM gemset from shell script via `rvm gemset use`
(See update at bottom) I feel like I'm missing something terribly obvious here, but I can't change gemsets from within a shell script. This minimal script demonstrates: #!/usr/bin/env bash rvm gemset use "testing" I even tried the instructions from the Scripting RVM page (although it didn't seem necessary): #!/usr/bin/env bash # Load RVM into a shell session *as a function* if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then # First try to load from a user install source "$HOME/.rvm/scripts/rvm" elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then # Then try to load from a root install source "/usr/local