Chris Kutler | 15 Jul 22:52

6.5 Ruby Project Question,

http://wiki.netbeans.org/NewAndNoteWorthy for 6.5 says

Ruby
 Projects
   possibility to pass JVM options to the JRuby (e.g. 
-Djruby.objectspace.enabled=true)

Where and how do I do this.

Let's say that I want to pass -J-Xmx1024m to JRuby. Where do I do this?

Can you give me a few examples of passing JVM options to JRuby?
Martin Krauskopf | 15 Jul 23:14

Re: 6.5 Ruby Project Question,

Chris Kutler wrote:
> http://wiki.netbeans.org/NewAndNoteWorthy for 6.5 says
> 
> Ruby
> Projects
>   possibility to pass JVM options to the JRuby (e.g. 
> -Djruby.objectspace.enabled=true)
> 
> Where and how do I do this.

I wrote you in private email few days ago. Likely missed in that long 
discussion:

"In the project's properties, Run category, you might set props as 
listed by ``jruby --properties''."

> 
> Let's say that I want to pass -J-Xmx1024m to JRuby. Where do I do this?

It is JVM option. You supposed to pass there JRuby properties as listed 
by ``jruby --properties''.

You might set Java options by tweaking JRUBY_EXTRA_VM_ARGS.

   http://wiki.netbeans.org/FaqHowToCallJavaFromRuby

Likely something which should be doable from GUI. But no such RFE was 
filed so far.

> Can you give me a few examples of passing JVM options to JRuby?
(Continue reading)

Chris Kutler | 16 Jul 00:03

Re: 6.5 Ruby Project Question,


Martin Krauskopf wrote:
> Chris Kutler wrote:
>> http://wiki.netbeans.org/NewAndNoteWorthy for 6.5 says
>>
>> Ruby
>> Projects
>>   possibility to pass JVM options to the JRuby (e.g. 
>> -Djruby.objectspace.enabled=true)
>>
>> Where and how do I do this.
>
> I wrote you in private email few days ago. Likely missed in that long 
> discussion:
>
> "In the project's properties, Run category, you might set props as 
> listed by ``jruby --properties''."
I think my poor feeble mind is not able to absorb all the answers to the 
myriad number of questions I have been asking lately. But thanks for 
answering it again.
>
>>
>> Let's say that I want to pass -J-Xmx1024m to JRuby. Where do I do this?
>
> It is JVM option. You supposed to pass there JRuby properties as 
> listed by ``jruby --properties''.
>
> You might set Java options by tweaking JRUBY_EXTRA_VM_ARGS.
>
>   http://wiki.netbeans.org/FaqHowToCallJavaFromRuby \
(Continue reading)


Gmane