What is the proper way to create a well-behaved Unix or Linux daemon in Ruby?

What is the definition of a well-behaved daemon anyway, and how would one write such a program in Ruby?

Edit
Report