VBS scripting via Ruby web app — issues with multithreading

I’ve posted this in the general Ruby forum, but as Rails app is also not working, could someone please assist me with this problem VBS scripting via Ruby web app -- issues with multithreading - Stack Overflow.

Thank you.
seba