I'm trying to use the ruby environment configurator to build against different ruby versions and gemsets. I'm getting the error that RVM is "not a function".
According to http://youtrack.jetbrains.com/issue/TW-26386:
"Ruby Env Configurator stores shell script as files and then run it with "/bin/bash -l script_file.sh""
When I set up a build with the Command Line Runner with a custom script that does "ps -fp $$", the output is:
[17:52:45]UID PID PPID C STIME TTY TIME CMD
[17:52:45]ubuntu 8829 8828 0 17:50 ? 00:00:00 /bin/sh /mnt/ubuntu/buildAgent/temp/agentTmp/build452038452472514922.sh
Is this expected? Are there any environment variables or configuration parameters that affect this? ubuntu's shell is /bin/bash, and SHELL is /bin/bash in the build-agent's environment.