I am trying to configure the server for integration tests (actually actually) through ruby and cannot figure out how to control the process.
So, I am trying to do this:
- run the rake task for my gem that fulfills integration specifications
- the task is to start the server first (I use webrick) and then run the specifications
- after fulfilling the specifications, he should kill webrick so that I do not stay with some unused background process.
webrick is not a requirement, but it is included in the ruby standard library, so the ability to use it will be great.
hope someone can help!
ps. I work on Linux, so this work for Windows is not my top priority (right now).
ruby process webrick
rubiii Jan 02 '09 at 22:18 2010-01-02 22:18
source share