I've borked something up somehow. On one of my servers, if I type ruby
, I get the error bash: /opt/rh/rh-ruby23/root/usr/bin/ruby: No such file or directory
which ruby
gives:
/usr/local/bin/ruby
which -a ruby
gives:
/usr/local/bin/ruby
/usr/bin/ruby
I had installed a version of ruby at /opt/rh/rh-ruby23
via yum install rh-ruby23
but I then removed with yum remove rh-ruby-23
I'm at a loss as to what's still pointing at /opt/rh/rh-ruby23/root/usr/bin/ruby
readlink -f /usr/local/bin/ruby
/usr/bin/ruby
is a symlink to/usr/local/bin/ruby