You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow RUBIES to contain dir glob strings ("$HOME/.rubies/*") which are expanded as chruby iterates over RUBIES. This would allow chruby to see rubies that were just installed into ~/.rubies/.
Example Code
RUBIES=("/opt/rubies/*" "$HOME/.rubies/*")
for ruby in ${RUBIES[@]}; do
echo "Testing: $ruby"
if [[ -d "$ruby" ]] && [[ "$ruby" == *$1* ]]; then
echo "Found: $ruby"
exit
fi
done
The text was updated successfully, but these errors were encountered:
Allow
RUBIES
to contain dir glob strings ("$HOME/.rubies/*"
) which are expanded aschruby
iterates overRUBIES
. This would allow chruby to see rubies that were just installed into~/.rubies/
.Example Code
The text was updated successfully, but these errors were encountered: