Skip to content

Instantly share code, notes, and snippets.

@avsej

avsej/0-env Secret

Last active August 29, 2015 14:08
Show Gist options
  • Save avsej/7f5b2e5a4396289094f5 to your computer and use it in GitHub Desktop.
Save avsej/7f5b2e5a4396289094f5 to your computer and use it in GitHub Desktop.
~ $ date
Sun Nov 2 23:46:33 MSK 2014
~ $ uname -a
Linux lin.local 3.18.0-0.rc2.git3.1.fc22.x86_64 #1 SMP Thu Oct 30 13:52:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
~ $ cat /etc/fedora-release
Fedora release 22 (Rawhide)
~ $ java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
+ cygwin=false
+ case "`uname`" in
++ uname
+ '[' -z '' ']'
+ JAVA_VM=-client
+++ dirname -- /bin/jruby
++ cd -P -- /bin
++ pwd -P
+ SELF_PATH=/usr/bin
++ basename -- /bin/jruby
+ SELF_PATH=/usr/bin/jruby
+ '[' -h /usr/bin/jruby ']'
++ dirname -- /usr/bin/jruby
+ DIR=/usr/bin
++ readlink /usr/bin/jruby
+ SYM=/usr/share/jruby/bin/jruby
++ cd /usr/bin
+++ dirname -- /usr/share/jruby/bin/jruby
++ cd /usr/share/jruby/bin
++ pwd
++ basename -- /usr/share/jruby/bin/jruby
+ SELF_PATH=/usr/share/jruby/bin/jruby
+ '[' -h /usr/share/jruby/bin/jruby ']'
+ PRG=/usr/share/jruby/bin/jruby
++ dirname /usr/share/jruby/bin/jruby
+ JRUBY_HOME_1=/usr/share/jruby/bin
+ '[' /usr/share/jruby/bin = . ']'
++ dirname /usr/share/jruby/bin
+ JRUBY_HOME=/usr/share/jruby
+ '[' -z '' ']'
+ JRUBY_OPTS=
+ JRUBY_OPTS_SPECIAL=--ng
+ unset JRUBY_OPTS_TEMP
+ JRUBY_OPTS=
+ '[' -z '' ']'
+ '[' -z '' ']'
+ JAVACMD=java
+ '[' -z '' ']'
+ JAVA_MEM=-Xmx500m
+ '[' -z '' ']'
+ JAVA_STACK=-Xss2048k
+ unset JAVA_OPTS_TEMP
+ JAVA_OPTS_TEMP=
+ JAVA_OPTS=
+ JRUBY_SHELL=/bin/sh
+ CP_DELIMITER=:
+ for j in '"$JRUBY_HOME"/lib/jruby.jar' '"$JRUBY_HOME"/lib/jruby-complete.jar'
+ '[' '!' -e /usr/share/jruby/lib/jruby.jar ']'
+ '[' '' ']'
+ JRUBY_CP=/usr/share/jruby/lib/jruby.jar
+ '[' ']'
+ JRUBY_ALREADY_ADDED=true
+ for j in '"$JRUBY_HOME"/lib/jruby.jar' '"$JRUBY_HOME"/lib/jruby-complete.jar'
+ '[' '!' -e /usr/share/jruby/lib/jruby-complete.jar ']'
+ continue
+ false
++ build-classpath objectweb-asm4/asm objectweb-asm4/asm-util objectweb-asm4/all objectweb-asm4/asm-commons objectweb-asm4/asm-analysis objectweb-asm4/asm-tree bcmail bcprov bsf bytelist felix/org.osgi.core invokebinder jansi jcodings jffi jline2 jna jnr-constants jnr-enxio jnr-ffi jnr-netdb jnr-posix jnr-unixsocket joda-time joni jzlib nailgun snakeyaml yydebug yecht jruby jruby-yecht
+ j=/usr/share/java/bcmail.jar:/usr/share/java/bcprov.jar:/usr/share/java/bsf.jar:/usr/share/java/bytelist.jar:/usr/share/java/felix/org.osgi.core.jar:/usr/share/java/invokebinder.jar:/usr/share/java/jansi/jansi.jar:/usr/share/java/jcodings.jar:/usr/lib/java/jffi.jar:/usr/share/java/jna.jar:/usr/share/java/jnr-constants.jar:/usr/share/java/jnr-enxio.jar:/usr/share/java/jnr-ffi.jar:/usr/share/java/jnr-netdb/jnr-netdb.jar:/usr/share/java/jnr-posix.jar:/usr/share/java/jnr-unixsocket/jnr-unixsocket.jar:/usr/share/java/joda-time.jar:/usr/share/java/joni.jar:/usr/share/java/jzlib.jar:/usr/share/java/nailgun.jar:/usr/share/java/snakeyaml.jar:/usr/share/java/yydebug.jar:/usr/share/java/yecht.jar:/usr/share/java/jruby.jar:/usr/share/java/jruby-yecht.jar
+ JRUBY_CP=/usr/share/jruby/lib/jruby.jar/usr/share/java/bcmail.jar:/usr/share/java/bcprov.jar:/usr/share/java/bsf.jar:/usr/share/java/bytelist.jar:/usr/share/java/felix/org.osgi.core.jar:/usr/share/java/invokebinder.jar:/usr/share/java/jansi/jansi.jar:/usr/share/java/jcodings.jar:/usr/lib/java/jffi.jar:/usr/share/java/jna.jar:/usr/share/java/jnr-constants.jar:/usr/share/java/jnr-enxio.jar:/usr/share/java/jnr-ffi.jar:/usr/share/java/jnr-netdb/jnr-netdb.jar:/usr/share/java/jnr-posix.jar:/usr/share/java/jnr-unixsocket/jnr-unixsocket.jar:/usr/share/java/joda-time.jar:/usr/share/java/joni.jar:/usr/share/java/jzlib.jar:/usr/share/java/nailgun.jar:/usr/share/java/snakeyaml.jar:/usr/share/java/yydebug.jar:/usr/share/java/yecht.jar:/usr/share/java/jruby.jar:/usr/share/java/jruby-yecht.jar
+ '[' '' '!=' '' ']'
+ for j in '"$JRUBY_HOME"/lib/*.jar'
+ '[' /usr/share/jruby/lib/jruby.jar == /usr/share/jruby/lib/jruby.jar ']'
+ continue
+ '[' '' '!=' '' ']'
+ false
+ JAVA_ENCODING=
+ declare -a java_args
+ declare -a ruby_args
+ mode=
+ JAVA_CLASS_JRUBY_MAIN=org.jruby.Main
+ java_class=org.jruby.Main
+ JAVA_CLASS_NGSERVER=com.martiansoftware.nailgun.NGServer
+ set -- -v
+ '[' 1 -gt 0 ']'
+ case "$1" in
+ ruby_args=("${ruby_args[@]}" "$1")
+ shift
+ '[' 0 -gt 0 ']'
+ [[ -n '' ]]
+ ruby_args=("${ruby_args[@]}" "$@")
+ set -- -v
+ JAVA_OPTS='-Dvendor.dir.general=/usr/share/jruby/lib
-Dsite.dir.general=/usr/local/share/jruby/lib
-Dvendor.dir.rubygems=/usr/share/rubygems -Xmx500m -Xss2048k'
+ JFFI_BOOT=
+ '[' -d /usr/share/jruby/lib/native/ ']'
++ uname -s
+ for d in '$JRUBY_HOME/lib/native/*`uname -s`'
+ '[' -z '' ']'
+ JFFI_BOOT='/usr/share/jruby/lib/native/*Linux'
+ JFFI_OPTS='-Djffi.boot.library.path=/usr/share/jruby/lib/native/*Linux'
+ false
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ false
+ exec java -Dvendor.dir.general=/usr/share/jruby/lib -Dsite.dir.general=/usr/local/share/jruby/lib -Dvendor.dir.rubygems=/usr/share/rubygems -Xmx500m -Xss2048k '-Djffi.boot.library.path=/usr/share/jruby/lib/native/*Linux' -Xbootclasspath/a:/usr/share/jruby/lib/jruby.jar/usr/share/java/bcmail.jar:/usr/share/java/bcprov.jar:/usr/share/java/bsf.jar:/usr/share/java/bytelist.jar:/usr/share/java/felix/org.osgi.core.jar:/usr/share/java/invokebinder.jar:/usr/share/java/jansi/jansi.jar:/usr/share/java/jcodings.jar:/usr/lib/java/jffi.jar:/usr/share/java/jna.jar:/usr/share/java/jnr-constants.jar:/usr/share/java/jnr-enxio.jar:/usr/share/java/jnr-ffi.jar:/usr/share/java/jnr-netdb/jnr-netdb.jar:/usr/share/java/jnr-posix.jar:/usr/share/java/jnr-unixsocket/jnr-unixsocket.jar:/usr/share/java/joda-time.jar:/usr/share/java/joni.jar:/usr/share/java/jzlib.jar:/usr/share/java/nailgun.jar:/usr/share/java/snakeyaml.jar:/usr/share/java/yydebug.jar:/usr/share/java/yecht.jar:/usr/share/java/jruby.jar:/usr/share/java/jruby-yecht.jar -classpath : -Djruby.home=/usr/share/jruby -Djruby.lib=/usr/share/jruby/lib -Djruby.script=jruby -Djruby.shell=/bin/sh org.jruby.Main -v
jruby 1.7.2 (1.9.3p327) 2013-08-23 fffffff on Java HotSpot(TM) 64-Bit Server VM 1.8.0_25-b17 +indy [linux-amd64]
OptoFactory.java:109:in `<clinit>': java.lang.NoClassDefFoundError: org/objectweb/asm/Opcodes
from Ruby.java:4549:in `<init>'
from Ruby.java:280:in `newInstance'
from Main.java:262:in `internalRun'
from Main.java:221:in `run'
from Main.java:201:in `main'
~ $ ls -l /usr/share/java/jruby.jar
lrwxrwxrwx. 1 root root 38 Aug 23 2013 /usr/share/java/jruby.jar -> ../../../usr/share/jruby/lib/jruby.jar
~ $ ls -l /usr/share/jruby/lib/jruby.jar
-rw-r--r--. 1 root root 7859421 Aug 23 2013 /usr/share/jruby/lib/jruby.jar
~ $ yum whatprovides /usr/share/jruby/lib/jruby.jar
jruby-1.7.2-5.fc21.noarch : Pure Java implementation of the Ruby interpreter
Repo : rawhide
Matched from:
Filename : /usr/share/jruby/lib/jruby.jar
jruby-1.7.2-5.fc21.noarch : Pure Java implementation of the Ruby interpreter
Repo : @rawhide
Matched from:
Filename : /usr/share/jruby/lib/jruby.jar
java -Dvendor.dir.general=/usr/share/jruby/lib -Dsite.dir.general=/usr/local/share/jruby/lib -Dvendor.dir.rubygems=/usr/share/rubygems -Xmx500m -Xss2048k -Djffi.boot.library.path=/usr/share/jruby/lib/native/*Linux -Xbootclasspath/a:/usr/share/jruby/lib/jruby.jar/usr/share/java/bcmail.jar:/usr/share/java/bcprov.jar:/usr/share/java/bsf.jar:/usr/share/java/bytelist.jar:/usr/share/java/felix/org.osgi.core.jar:/usr/share/java/invokebinder.jar:/usr/share/java/jansi/jansi.jar:/usr/share/java/jcodings.jar:/usr/lib/java/jffi.jar:/usr/share/java/jna.jar:/usr/share/java/jnr-constants.jar:/usr/share/java/jnr-enxio.jar:/usr/share/java/jnr-ffi.jar:/usr/share/java/jnr-netdb/jnr-netdb.jar:/usr/share/java/jnr-posix.jar:/usr/share/java/jnr-unixsocket/jnr-unixsocket.jar:/usr/share/java/joda-time.jar:/usr/share/java/joni.jar:/usr/share/java/jzlib.jar:/usr/share/java/nailgun.jar:/usr/share/java/snakeyaml.jar:/usr/share/java/yydebug.jar:/usr/share/java/yecht.jar:/usr/share/java/jruby.jar:/usr/share/java/jruby-yecht.jar -classpath : -Djruby.home=/usr/share/jruby -Djruby.lib=/usr/share/jruby/lib -Djruby.script=jruby -Djruby.shell=/bin/sh org.jruby.Main -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment