Add test for Rubinius gem binstubs fix

References #433
Avoid sed with extended regexp

Seems like sed 4.1.5 on RHEL 5.3 doesn't support `-E`, and sed on OS X doesn't
support `-r` to activate the extended regexp mode. Best to avoid extended regexp
altogether for compatibility.

Fixes #495
Merge branch 'avoid-sed-regexp'