Since the command ought to work for other languages (I gave it a quick test with LaTeX and it seemed fine), how about adding the rubywrap.rb script to Support/bin, rather than Bundles/Ruby.tmbundle/ Support/bin? That way it will be accessible to any command/bundle that wants to call on it (and that provides the right parameters for a given language).
-Alan