Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Launcher
-
Labels:None
-
Environment:All
-
Number of attachments :
Description
To allow setting things like the max heap size (-Xmx...), especially when running rails or rake.
The existing -J options are not passed through (at least under the rvm'd jruby)
This can be done by setting JAVA_OPTS, but it would seem to be a cleaner solution to have a jruby specific config file for this.
Perhaps called .jruby, searched for in the current directory ./.jruby, user home directory ~/.jruby and a system directory, /etc/jruby
What do you think?
Issue Links
- is duplicated by
-
JRUBY-5929
Provide (or document if already provided) a way to change the JRuby mode to 1.9 without using the command-line
-
I agree with adding this sort of configuration manner. This would also work for JSR223 JRubyEgnine, which uses Java System properties to configure.
But, I think a filename should be something else that is clearly recognizable from users. For example, config.jruby, or jruby.conf.