When I use RubyMine, I start the service through the terminal and can see the running logs. Some of the logs display the execution at a certain line in a certain file. In RubyMine, you can click to directly jump to the corresponding location. I don’t know if there is a plugin in ST4 that can do the same.
