I'm running IntelliJ 12 with the ruby plugin. I'd like to either be able to use an environment variable ($MODULE_DIR$ or something) in arbitary fields in the run/debug configurations, or have a way to configure the default settings per module.
The concrete example is I have 3 ruby projects which use RSpec. I would like to be able to configure the Working Directory to be based off of the module directory, and have a log location for each ruby module.
Is there a way to do this currently?