Skip to content

Instantly share code, notes, and snippets.

@headius
Created November 23, 2021 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save headius/41b3c1433b4bc839a4b4bce3808da421 to your computer and use it in GitHub Desktop.
Save headius/41b3c1433b4bc839a4b4bce3808da421 to your computer and use it in GitHub Desktop.
[] ~/projects/jruby $ ruby --environment
JRuby Environment
=================
JRuby executable:
/Users/headius/projects/jruby/bin/ruby
JRuby command line options:
--environment
Current directory:
/Users/headius/projects/jruby
Environment:
JRUBY_HOME: /Users/headius/projects/jruby
JRUBY_OPTS:
JAVA_OPTS:
JAVACMD: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Detected Java modules at /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Adding Java options from: /Users/headius/projects/jruby/bin/.jruby.java_opts
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
--add-opens java.management/sun.management=org.jruby.dist
Java command line:
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java @/Users/headius/projects/jruby/bin/.jruby.java_opts @/Users/headius/projects/jruby/bin/.jruby.module_opts -Xss2048k -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