Initialization at app's start up

Hi,

I'd like to kick off a background thread responsible for monitoring
the application's vitals when the application starts. What's the best
approach to implement this with RoR running on a Windows box?

Thanks
Dmitry