title: Better way to execute ruby file using Python and How to get ruby console output when ruby file is run from python?
body: <p>I am building a standalone using python.
  This standaloone should execute a ruby file.</p>
  
  <p>I have read this article - <a href="http://www.decalage.info/python/ruby_bridge" rel="nofollow">http://www.decalage.info/python/ruby_bridge</a>
  I have used os.system() which works well.
  But I have an issue here.
  If a ruby file has some error, file simply terminates without error.
  Can you please let me know how to GET ruby  console output so that I can display the same in my standalone.</p>