I would like to try the ZSH shell on my Mac, but I am also developing Ruby and Rails, so I also use RVM a bit. The problem is that I cannot get RVM to work in ZSH, and it works fine in the default Bash shell:
> zsh > rvm 1.9.2 > ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] > which ruby /usr/bin/ruby
I can definitely confirm that RVM is installed, as well as ruby ββ1.9.2 under RVM; I use it all the time in Bash. Running rvm list in ZSH shows this, interestingly:
rvm rubies ruby-1.8.7-p302 [ x86_64 ] => ruby-1.9.2-p0 [ x86_64 ]
This happens on both the iMac and MacBook Pro. I am using OS X 10.6.6 for both, ZSH 4.3.9 on iMac (4.3.10 on laptop). Nothing like oh-my-zsh yet.
I tried looking at the documentation on the RVM website , but nothing helped me.
ruby zsh rvm macos
swilliams Jan 21 2018-11-11T00: 00Z
source share