[jruby-user] Shebang script with arguments
Rodrigo Botafogo <[email protected]> Mon, 30 Mar 2015 17:55:14 -0300
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <CAAKc=GCJXkFXJTSr-p9sLBF3xvQbZQNUbYiS8cVbu0VcV+=kXw@mail.gmail.com> |
--089e015386d61336e5051287b441 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello... I have a shebang script for jruby, and I need to change the java heap space in it. How do I do that? Is it possible? Doing: #!/usr/bin/env jruby -J-Xmx1024m does not work. I=C2=B4ve seen a suggestion, that for Python the best would be to add the parameter to a shell variable. Can this be done for JRuby? Thanks a lot.... --=20 Rodrigo Botafogo --089e015386d61336e5051287b441 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello...<div><br></div><div>I have a shebang script for jr= uby, and I need to change the java heap space in it.=C2=A0 How do I do that= ?=C2=A0 Is it possible?</div><div><br></div><div>Doing:=C2=A0</div><div><br= ></div><div><div>#!/usr/bin/env jruby -J-Xmx1024m<br></div><div><br></div><= div>does not work.=C2=A0</div><div><br></div><div>I=C2=B4ve seen a suggesti= on, that for Python the best would be to add the parameter to a shell varia= ble.=C2=A0 Can this be done for JRuby?</div><div><br></div><div><br></div><= div>Thanks a lot....</div><div><br></div>-- <br><div class=3D"gmail_signatu= re"><div dir=3D"ltr">Rodrigo Botafogo<div><br><br><div><br></div></div></di= v></div> </div></div> --089e015386d61336e5051287b441--