By accident, I ran the command
exec $SHELL -l
in my terminal, and it changed how my prompt looks
Macintosh:~ myname$ exec $SHELL -l Macintosh-2:~ myname$ cd
i.e. there's a "-2" after Macintosh
Macintosh:~ myname$ Macintosh-2: myname$
I'm not sure if this might be responsible for some problems I'm having on my system.
I'm trying to use Ruby 1.9.3 on my system, which I installed with Rbenv.
rbenv version 1.9.3-p327
However, when I try to install gems, i'm getting an error message that they require at least ruby 1.9.2, so I'm assuming that the machine is still using the version of Ruby that comes with my Mac. I tried to fix this by
gem install bundle rbenv rehash bundle install
but I keep getting the same error message about needing at least Ruby 1.9.2, so I'm wondering if the effect of running
exec $SHELL -l is preventing gems from installing for some reason.