robbyrussell/oh-my-zsh — comment on commit 6496acf58bf8531809490b52e34811f74a27cc7c
File:  line 0
By jarinudom:

It shows the prompt:

~

Instead of the expected prompt:

[ruby-1.8.7] ~

Using the alternative test for rvm-prompt's existence fixed it.