Skip to content

Instantly share code, notes, and snippets.

@chrisrobinson
Created August 19, 2012 01:15
Show Gist options
  • Save chrisrobinson/3390746 to your computer and use it in GitHub Desktop.
Save chrisrobinson/3390746 to your computer and use it in GitHub Desktop.
weird jruby-1.7.0.preview2
chris@ubuntu64:~/cardsagainsthumanity$ rvm install jruby-1.7.0.preview2
jruby-1.7.0.preview2 - #downloading jruby-bin-1.7.0.preview2, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16.0M 100 16.0M 0 0 5287k 0 0:00:03 0:00:03 --:--:-- 5484k
jruby-1.7.0.preview2 - #extracting jruby-bin-1.7.0.preview2 to /home/chris/.rvm/src/jruby-1.7.0.preview2
jruby-1.7.0.preview2 - #extracted to /home/chris/.rvm/src/jruby-1.7.0.preview2
Building Nailgun
jruby-1.7.0.preview2 - #installing to /home/chris/.rvm/rubies/jruby-1.7.0.preview2
jruby-1.7.0.preview2 - adjusting #shebangs for (jrubyc jirb_swing jirb jgem rdoc ri spec autospec testrb ast generate_yaml_index.rb).
jruby-1.7.0.preview2 - #importing default gemsets (/home/chris/.rvm/gemsets/)
chris@ubuntu64:~/cardsagainsthumanity$ rvm use jruby-1.7.0.preview2 --default
Using /home/chris/.rvm/gems/jruby-1.7.0.preview2
Running /home/chris/.rvm/hooks/after_use
chris@ubuntu64:~/cardsagainsthumanity$ ruby -v
jruby 1.7.0.preview2 (1.9.3p203) 2012-08-07 4a6bb0a on OpenJDK 64-Bit Server VM 1.7.0_03-b147 [linux-amd64]
2012-08-18T19:10:36.615-06:00: Ruby: org.objectweb.asm.ClassReader
java.lang.ClassNotFoundException: org.objectweb.asm.ClassReader
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.jruby.util.JRubyClassLoader.findClass(JRubyClassLoader.java:92)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:156)
at org.jruby.javasupport.JavaSupport.loadJavaClassVerbose(JavaSupport.java:165)
at org.jruby.javasupport.JavaClass.forNameVerbose(JavaClass.java:1194)
at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:940)
at org.jruby.javasupport.Java.get_proxy_or_package_under_package(Java.java:969)
at org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_package(JavaUtilities.java:54)
at org.jruby.javasupport.JavaUtilities$INVOKER$s$2$0$get_proxy_or_package_under_package.call(JavaUtilities$INVOKER$s$2$0$get_proxy_or_package_under_package.gen)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:201)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:112)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:158)
at org.jruby.javasupport.util.RuntimeHelpers$MethodMissingMethod.call(RuntimeHelpers.java:489)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)
at org.jruby.runtime.callsite.CachingCallSite.callMethodMissing(CachingCallSite.java:379)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
at org.jruby.ast.ConstDeclNode.interpret(ConstDeclNode.java:97)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:226)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:123)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:113)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_CLASS(ASTInterpreter.java:104)
at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:271)
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120)
at org.jruby.Ruby.runInterpreter(Ruby.java:807)
at org.jruby.Ruby.loadFile(Ruby.java:2571)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.loadFromClassLoader(LoadService.java:348)
at org.jruby.ext.jruby.JRubyLibrary.load(JRubyLibrary.java:80)
at org.jruby.runtime.load.LoadService.reflectedLoad(LoadService.java:590)
at org.jruby.ext.LateLoadingLibrary.load(LateLoadingLibrary.java:48)
at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:895)
at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:533)
at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:417)
at org.jruby.runtime.load.LoadService.require(LoadService.java:381)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1032)
at org.jruby.RubyKernel.require19(RubyKernel.java:1024)
at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$s$1$0$require19.gen)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:327)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120)
at org.jruby.Ruby.runInterpreter(Ruby.java:807)
at org.jruby.Ruby.loadFile(Ruby.java:2571)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.load(LoadService.java:327)
at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1058)
at org.jruby.RubyKernel.load19(RubyKernel.java:1050)
at org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:208)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:204)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.IfNode.interpret(IfNode.java:116)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120)
at org.jruby.Ruby.runInterpreter(Ruby.java:807)
at org.jruby.Ruby.loadFile(Ruby.java:2571)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.loadFromClassLoader(LoadService.java:348)
at org.jruby.Ruby.initRubyKernel(Ruby.java:1579)
at org.jruby.Ruby.init(Ruby.java:1133)
at org.jruby.Ruby.newInstance(Ruby.java:264)
at org.jruby.Main.internalRun(Main.java:249)
at org.jruby.Main.run(Main.java:231)
at org.jruby.Main.run(Main.java:215)
at org.jruby.Main.main(Main.java:195)
chris@ubuntu64:~/cardsagainsthumanity$ cd
chris@ubuntu64:~$ ruby -v
jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 26e08ba) (OpenJDK 64-Bit Server VM 1.7.0_03) [linux-amd64-java]
chris@ubuntu64:~$ cd cardsagainsthumanity/
chris@ubuntu64:~/cardsagainsthumanity$ ruby -v
jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 26e08ba) (OpenJDK 64-Bit Server VM 1.7.0_03) [linux-amd64-java]
chris@ubuntu64:~/cardsagainsthumanity$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment