How to pass parameters to RubyMine generators & Rake tasks?

I am using Nailgun for JRuby to avoid slow JVM loading every time I run JRuby script. I found how to add --ng parametr to JRuby invocation (menu Run -> Edit Configurations) I would like to add this parameter global for all Rake tasks. RubyMine has default settings -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) and I cannot change it for all no-yet-used Rake tasks. So for Rake tasks executed for the first time, the task is added to the list (inder Ruby/Debug Configurations/Rake folder) with... default settings. It was even if I added --ng under Edit Defaults entry. It is ignored. Why?

1 comment
Comment actions Permalink

It was even if I added --ng under Edit Defaults entry. It is ignored. Why?

It was a bug in Rake run configurations options. Fix will be available in next RubyMine 2.0 Beta build

As for generators, irb console, etc. scripts I've filed an issue - http://youtrack.jetbrains.net/issue/RUBY-5152

0

Please sign in to leave a comment.