chruby icon indicating copy to clipboard operation
chruby copied to clipboard

chruby populates $rvm_path too late

Open mcandre opened this issue 5 years ago • 0 comments

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.

mcandre avatar Jul 25 '18 15:07 mcandre