Use the library function for ruby prompt

Not everyone uses rvm and the library has already got a function for this.