title: Execute Ruby code in sublime text 2
body: <p>How can I run a Ruby file with ST2 and see the ouput? I thought I should use the build command. But if I have this:</p>
  
  <pre><code>def foobar
    "hello world"
  end
  
  puts foobar
  </code></pre>
  
  <p>and then press cmd + shift + b. All I see is</p>
  
  <pre><code>[Finished in 0.1s]
  </code></pre>
  
  <p>In textmate I could use the cmd + r (run command) and see all the ouput from the ruby script.</p>
  
  <p>I'm I missing something?</p>