rvm is great, but I still sometimes lose track of which Ruby version I’m currently using. As a little reminder, I put the Ruby version in my shell prompt, like this:
PS1="\u `ruby -v | grep -e "[0-9]\.[0-9]\.[0-9]" -o` \w"
Works nicely.
rvm is great, but I still sometimes lose track of which Ruby version I’m currently using. As a little reminder, I put the Ruby version in my shell prompt, like this:
PS1="\u `ruby -v | grep -e "[0-9]\.[0-9]\.[0-9]" -o` \w"
Works nicely.