How to Configure Terminal As External Tool?

Hi,

How do I configure the terminal as an external tool in Rubymine?

I think that is what I should do, but I couldn't figure out how to set the option in external tools.

What I'm trying to accomplish is to have a terminal open to my current project directory so I can type a command line arguments to feed to my execution.

For example I want to be able to type:

$ ruby stock_stats.rb data.csv



If I just hit run in RubyMine it doesn't know that I want to feed it data.csv.

Thank You.
0

Settings | External Tools, enter 'bash' in the "Program" field, enter $ProjectFileDir$ (or use "Insert macro..." button) in the "Working Directory" field.

0

请先登录再写评论。