make bashprompt work with pre 2.0 ruby