Ruby Version Reminder
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.
Tags: ruby, shell, unix
This entry was posted on Monday, February 22nd, 2010 at 8:40 pm and is filed under Uncategorized.
You can follow any comments to this entry through the RSS 2.0 feed.
You can leave a comment, or trackback from your own site.