postmodern / chruby

Changes the current Ruby
MIT License
2.88k stars 189 forks source link

MacOS 11.2.3 and chruby 3.0.0 fails #456

Closed rxqd closed 3 years ago

rxqd commented 3 years ago

I've added to my .zshrc next lines

source /usr/local/opt/chruby/share/chruby/chruby.sh
source /usr/local/opt/chruby/share/chruby/auto.sh

After open new terminal I can see an error: "Unknown argument -A" Then on chruby 3.0.0 I can see "chruby: unknown Ruby: 3.0.0" I have installed ruby 3.0.0 in my .rubies folder

Hm, tried with 2.7.2 the same

chruby 2.7.2
chruby: unknown Ruby: 2.7.2
rxqd commented 3 years ago

Fixed adding scripts to /etc/zshrc instead of local config