Missing "include stringio" in external_program.rb.
Make open4 a full depencency instead of just a development one.