This Question is Not Answered

1 "correct" answer available (4 pts) 1 "helpful" answer available (2 pts)
2 Replies Last post: Aug 16, 2013 2:32 AM by James Stuckey  
James Stuckey Newbie 2 posts since
Aug 15, 2013
Currently Being Moderated

Aug 15, 2013 9:33 PM

execute a rubymine run configuration from rake task?

Is there any way to execute a RubyMine run/debug configuration from a rake task?  For example, I have a node.js run configuration which starts a server in a particular test mode.  I have rake tasks which run various tests.  I'd like to be able to run the node.js run configuration before the test tasks to fully automated the procedure.

 

Only options I can see thus far are abandoning the run configurations and doing everything from rake or duplicating the logic.

Joseph Grace Newbie 6 posts since
Aug 20, 2012
Currently Being Moderated
Aug 15, 2013 10:09 PM in response to: James Stuckey
Re: execute a rubymine run configuration from rake task?

If you just need to run the command analogous to the RubyMine configuration, I've noticed that the RubyMine command line shows up in the console.  You may get what you want by duplicating that command (modulo correct PATH, et al.) in your rake task.  I'm pretty sure there's not too much hidden magic to get it working.  For instance, when you change some options in the configuration, you can see the changes in the executed command.

 

If you need it to dynamically change (according to changes in configuration settings), that would be different.

More Like This

  • Retrieving data ...