How to generate TAP output for Selenium-WebDriver TC written in Ruby

Hello,

We need to integrate Jenkins with TestLink. For now Iam able to run
Selenium-WebDriver test cases from Jenkins using the inputs from
TestLink. Now the problem is the reverse communication where the Jenkins
test result needs to be updated in TestLInk.

For this Jenkins provide test reporting using junit,TAP and testNG
formats. The only option we have is to use TAP output format as we are
not using junit or testNG framework. Here we use RSpec to write
Selenium-WebDriver for the web testing, Is there a way to create TAP
output?

Iam attaching a sample testcase in Selenium 2.
To run the test : $ SITE=www.google.com TITLE=google rspec CheckTitle.rb

Would really appreciate your help!

Regards
Prasun Prabhakar