I don't think there is any particular tool to do this. In addition this will require you to downgrade to rails 3.2 which will be completely unsupported when rails 5 is released in the autumn. Ruby 1.8.7 is also not receiving any security patches.
Fred
Hi All,
Our client wants to downgrade our e-commerce website from Ruby 2.1.6 to
Ruby 1.8.7. I know this makes no sense. But when we got the requirement
to do the website, we developed using the latest version 2.1.6 but the
client wants to have the website in the old version, since his server is
not compatible with new one (MAKES SENSE?, but no other way).