Sometimes we need to fix shebangs from e.g. '#!/usr/bin/env ruby' -> '#!${RUBY}' (this came up in bug 771744). We should add a ruby_fix_shebangs like Python's python_fix_shebangs from python-utils-r1.eclass.