If rvm is not loaded by .bashrc early enough, then the chruby scripts fail to load. This happens because RUBIES=($( ls -1d "$rvm_path/rubies"/* 2>/dev/null )) occurs on a line before $rvm_path is corrected by chruby.
As a workaround, I am explicitly sourcing RVM in my bash configuration before I source chruby.
If rvm is not loaded by .bashrc early enough, then the chruby scripts fail to load. This happens because
RUBIES=($( ls -1d "$rvm_path/rubies"/* 2>/dev/null ))
occurs on a line before$rvm_path
is corrected by chruby.As a workaround, I am explicitly sourcing RVM in my bash configuration before I source chruby.