Sublime Forum

Question about running ruby from sublime

#1

Hi, I am new to sublime so I am not sure if this is a dumb question or not but is there a way to run a ruby file from within Sublime and not have to manually open up a command prompt myself to run it?

For example, Notepad++ has an option where you can run the file and it will automatically open up the command prompt and run the file. Is there anything like that available in sublime?

Thanks

0 Likes

#2

I found out that you can accomplish that by selecting Ruby in the build system option and then selecting Build Project.

0 Likes

#3

Yep, that is the preferred way to do it. Also, I copied the Ruby builder to Rake and modified it to call Ruby’s rake. Lemme know if you have problems…

0 Likes