Skip to content

Instantly share code, notes, and snippets.

@headius
Last active September 19, 2019 19:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save headius/564a67d7e1ddbb9921aa9be049632b66 to your computer and use it in GitHub Desktop.
Save headius/564a67d7e1ddbb9921aa9be049632b66 to your computer and use it in GitHub Desktop.
JRuby's new --environment flag
[] ~/projects/jruby $ jruby.bash --environment --dev
JRuby Environment
=================
JRuby executable:
/Users/headius/projects/jruby/bin/jruby.bash
JRuby command line options:
--environment --dev
Environment:
JRUBY_HOME: /Users/headius/projects/jruby
JRUBY_OPTS:
JAVA_OPTS:
JAVACMD: /Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home/bin/java
JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home
Detected Java modules at /Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home/jmods
Adding Java options from: /Users/headius/projects/jruby/bin/.jruby.java_opts
Adding Java options from: /Users/headius/projects/jruby/.jruby.java_opts
-Xverify:none
-XX:+PringGCDEtails
Adding Java options from: /Users/headius/projects/jruby/bin/.dev_mode.java_opts
-XX:+TieredCompilation
-XX:TieredStopAtLevel=1
-Djruby.compile.mode=OFF
-Djruby.compile.invokedynamic=false
-Djnr.ffi.asm.enabled=false
-Xverify:none
Adding Java options from: /Users/headius/projects/jruby/bin/.jruby.module_opts
--add-opens java.base/java.io=org.jruby.dist
--add-opens java.base/java.nio.channels=org.jruby.dist
--add-opens java.base/sun.nio.ch=org.jruby.dist
Detected Class Data Sharing archive:
/Users/headius/projects/jruby/lib/jruby.jsa
Java command line:
/Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home/bin/java @/Users/headius/projects/jruby/bin/.jruby.java_opts @/Users/headius/projects/jruby/.jruby.java_opts @/Users/headius/projects/jruby/bin/.dev_mode.java_opts @/Users/headius/projects/jruby/bin/.jruby.module_opts -Xss2048k -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=/Users/headius/projects/jruby/lib/jruby.jsa -Djffi.boot.library.path=/Users/headius/projects/jruby/lib/jni -Djava.security.egd=file:/dev/urandom --module-path /Users/headius/projects/jruby/lib/jruby.jar -classpath : -Djruby.home=/Users/headius/projects/jruby -Djruby.lib=/Users/headius/projects/jruby/lib -Djruby.script=jruby -Djruby.shell=/bin/sh org.jruby.Main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment