title: Calling a ruby script from a java code
body: <p>I'm trying to call a ruby script from within a java code. The script.rb file in in the same folder as the java code.</p>
  
  <pre><code>try 
  {
        Process p = Runtime.getRuntime().exec("ruby script.rb");
  } 
  catch (IOException e)
  {
    e.printStackTrace();
  }
  </code></pre>
  
  <p>However, the script doesn't get executed. Any suggestions on what can be done ?</p>