Mod_rewrite Ruby alternative

It seems that my host is disabling the apache mod_rewrite module, Have
you any idea how to replace the the behaviour of .htaccess by some ruby
staff. (I’ve used previously a high level php that makes the
RewriteUrl).

Thanks