title: execute shell script from ruby on rails with passing variable
body: <p>Im trying to integrate prosody xmpp server with my rails application. I need to create some users in a database upon registration so I can lateron use them inside the prosody server.</p>
  
  <p>What would be the best way to run shell commands in rails and output any info logs ?</p>
  
  <pre><code>prosodyctl adduser User.username
  </code></pre>