fix(plugins): ruby 1.9.1p0 crashes when stdin is closed
Merge pull request #512 from virgo-agent-toolkit/fixes/ruby_1_9_1_p0

fix(plugins): ruby 1.9.1p0 crashes when stdin is closed