Skip to content

Instantly share code, notes, and snippets.

@FauxFaux
Created March 28, 2014 15:15
Show Gist options
  • Save FauxFaux/9835149 to your computer and use it in GitHub Desktop.
Save FauxFaux/9835149 to your computer and use it in GitHub Desktop.
faux@sweevo:~$ rvm info
jruby-1.7.11:
system:
uname: "Linux sweevo 3.13.0-19-generic #40-Ubuntu SMP Mon Mar 24 02:36:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux"
system: "ubuntu/14.04/x86_64"
bash: "/bin/bash => GNU bash, version 4.3.0(1)-release (x86_64-pc-linux-gnu)"
zsh: "/usr/bin/zsh => zsh 5.0.2 (x86_64-pc-linux-gnu)"
rvm:
version: "rvm 1.25.22 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "3 minutes 5 seconds ago"
path: "/home/faux/.rvm"
Error: Could not find or load main class
ruby:
interpreter: ""
version: ""
date: ""
platform: ""
patchlevel: ""
full_version: ""
homes:
gem: "/home/faux/.rvm/gems/jruby-1.7.11"
ruby: "/home/faux/.rvm/rubies/jruby-1.7.11"
binaries:
ruby: "/home/faux/.rvm/rubies/jruby-1.7.11/bin/ruby"
irb: "/home/faux/.rvm/rubies/jruby-1.7.11/bin/irb"
gem: "/home/faux/.rvm/rubies/jruby-1.7.11/bin/gem"
rake: "/home/faux/.rvm/rubies/jruby-1.7.11/bin/rake"
environment:
PATH: "/home/faux/.rvm/gems/jruby-1.7.11/bin:/home/faux/.rvm/gems/jruby-1.7.11@global/bin:/home/faux/.rvm/rubies/jruby-1.7.11/bin:/home/faux/.rvm/bin:/home/faux/bin:/home/faux/bin/fakerpm:/home/faux/code/BBC-CloudFormation/modav-infrastructure-util:/home/faux/bin/:/home/faux/.cabal/bin:/home/faux/usr/bin:/home/faux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/faux/code/dev-tools/bin:/home/faux/code/dev-tools/bin:/home/faux/Library/Python/2.7/bin:/home/faux/Library/Python/2.7/bin:/home/faux/code/gocode/bin:/home/faux/code/dev-tools/bin:/home/faux/.local/bin:/home/faux/code/dev-tools/bin"
GEM_HOME: "/home/faux/.rvm/gems/jruby-1.7.11"
GEM_PATH: "/home/faux/.rvm/gems/jruby-1.7.11:/home/faux/.rvm/gems/jruby-1.7.11@global"
MY_RUBY_HOME: "/home/faux/.rvm/rubies/jruby-1.7.11"
IRBRC: "/home/faux/.rvm/rubies/jruby-1.7.11/.irbrc"
RUBYOPT: ""
gemset: ""
faux@sweevo:~$ strace -ff -eopen jruby 2>&1 | egrep 'jar|class'
[pid 10418] open("/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar", O_RDONLY) = 3
[pid 10418] open("/home/faux/.rvm/rubies/jruby-1.7.11/lib/jruby.jar", O_RDONLY) = 4
[pid 10418] open("/usr/share/java/java-atk-wrapper.jar", O_RDONLY) = 5
[pid 10418] open("/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunpkcs11.jar", O_RDONLY) = 6
[pid 10418] open("/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/pulse-java.jar", O_RDONLY) = 7
[pid 10418] open("/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/localedata.jar", O_RDONLY) = 8
[pid 10418] open("/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/dnsns.jar", O_RDONLY) = 9
[pid 10418] open("/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/zipfs.jar", O_RDONLY) = 10
[pid 10418] open("/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar", O_RDONLY) = 11
Error: Could not find or load main class
faux@sweevo:~$ jruby
Error: Could not find or load main class
faux@sweevo:~$ java -jar /home/faux/.rvm/rubies/jruby-1.7.11/lib/jruby.jar --version
jruby 1.7.11 (1.9.3p392) 2014-02-24 86339bb on OpenJDK 64-Bit Server VM 1.7.0_51-b31 [linux-amd64]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment