wayneeseguin/rvm — pull request #894 by rafmagana (2012-04-09 06:50:15+00:00)
Title: rvm install completion doesn't work in Mac OS X Lion and Ubuntu Lucid 32, here's a fix for the __rvm_known function used to complete rubies in rvm install

This is the error in Lucid 32

$ rvm install [tab][tab] sed: -e expression #1, char 221: unterminated address regex

This is the error in Mac OS X Lion

$ rvm install [tab][tab]sed: 1: "\
s/#.*$//; \
/ ...": newline can not be used as a string delimiter