sstephenson/ruby-build — pull request #491 by marc (2014-01-17 15:35:41+00:00)
Title: Run sed without the -E flag in fix_jruby_shebangs. (GNU sed version 4.1.5 on CentOS 5.8 does not support the -E flag)

JRuby installations with ruby-build on CentOS 5.8 are failing for me with the recent fix_jruby_shebangs changes to ruby-build. GNU sed version 4.1.5 on CentOS 5.8 does not support the -E flag:

$ sed -E
sed: invalid option -- E

sed can be run without the -E flag in fix_jruby_shebangs so it works with GNU sed version 4.1.5 on CentOS 5.8.