bugfix: expand %%RUBY%%