sublimetext2 - Execute Ruby code in sublime text 2 -


How can I run a Ruby file with ST2 and see the output? I thought I should use the build command. But if I have this:

  DEF Fobar puts "Hello World" end in Fobb   

and then press cmd + shift + b I see

  [end in 0.1s]   

In textmate I can run cmd + r (command) and see all the ouput Can Ruby script

Am I missing something?

Save T file This is why it did not work. To run the file without first saving (as textmat) you should try to use the epipetter plugin.

Comments