secret
Last active

padrino jruby 1.9 with psych

  • Download Gist
padrino jruby 1.9 with psych
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
 
ip-192-168-1-126: [master]! $ jruby --1.9 -d -S padrino s -p 4000
java.lang.ClassNotFoundException: rubygems.defaults.OperatingSystemService
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.jruby.util.JRubyClassLoader.findClass(JRubyClassLoader.java:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:136)
at org.jruby.runtime.load.LoadService$ExtensionSearcher.trySearch(LoadService.java:597)
at org.jruby.runtime.load.LoadService.findFileForLoad(LoadService.java:283)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:330)
at org.jruby.runtime.load.LoadService.require(LoadService.java:379)
at org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:304)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1050)
at org.jruby.RubyKernel.require19(RubyKernel.java:1042)
at org.jruby.RubyKernel$s$1$0$require19.call(RubyKernel$s$1$0$require19.gen:65535)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
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.RescueNode.executeBody(RescueNode.java:216)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
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.ast.IfNode.interpret(IfNode.java:119)
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:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.loadFile(Ruby.java:2487)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:745)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:332)
at org.jruby.runtime.load.LoadService.require(LoadService.java:379)
at org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:304)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1050)
at org.jruby.RubyKernel.require19(RubyKernel.java:1042)
at org.jruby.RubyKernel$s$1$0$require19.call(RubyKernel$s$1$0$require19.gen:65535)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
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.RescueNode.executeBody(RescueNode.java:216)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.loadFile(Ruby.java:2487)
at org.jruby.Ruby.initBuiltins(Ruby.java:1529)
at org.jruby.Ruby.init(Ruby.java:1102)
at org.jruby.Ruby.newInstance(Ruby.java:184)
at org.jruby.Main.internalRun(Main.java:242)
at org.jruby.Main.run(Main.java:224)
at org.jruby.Main.run(Main.java:208)
at org.jruby.Main.main(Main.java:188)
Exception `LoadError' at /Users/dayas/.rbenv/versions/jruby-1.6.7/lib/ruby/site_ruby/shared/Win32API.rb:2 - Win32API only supported on win32
java.lang.ClassNotFoundException: bundler.SetupService
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.jruby.util.JRubyClassLoader.findClass(JRubyClassLoader.java:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:136)
at org.jruby.runtime.load.LoadService$ExtensionSearcher.trySearch(LoadService.java:597)
at org.jruby.runtime.load.LoadService.findFileForLoad(LoadService.java:283)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:330)
at org.jruby.runtime.load.LoadService.require(LoadService.java:379)
at org.jruby.runtime.load.LoadService.lockAndRequire(LoadService.java:304)
at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1050)
at org.jruby.RubyKernel.require19(RubyKernel.java:1042)
at org.jruby.RubyKernel$s$1$0$require19.call(RubyKernel$s$1$0$require19.gen:65535)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
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.ReturnNode.interpret(ReturnNode.java:92)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:199)
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:117)
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:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.loadFile(Ruby.java:2487)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:66)
at org.jruby.runtime.load.LoadService.load(LoadService.java:270)
at org.jruby.RubyKernel.loadCommon(RubyKernel.java:1076)
at org.jruby.RubyKernel.load19(RubyKernel.java:1068)
at org.jruby.RubyKernel$s$0$1$load19.call(RubyKernel$s$0$1$load19.gen:65535)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:211)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:207)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
at Users.dayas.$_dot_rbenv.versions.jruby_minus_1_dot_6_dot_7.bin.padrino.__file__(/Users/dayas/.rbenv/versions/jruby-1.6.7/bin/padrino:19)
at Users.dayas.$_dot_rbenv.versions.jruby_minus_1_dot_6_dot_7.bin.padrino.load(/Users/dayas/.rbenv/versions/jruby-1.6.7/bin/padrino)
at org.jruby.Ruby.runScript(Ruby.java:697)
at org.jruby.Ruby.runScript(Ruby.java:690)
at org.jruby.Ruby.runNormally(Ruby.java:597)
at org.jruby.Ruby.runFromMain(Ruby.java:446)
at org.jruby.Main.doRunFromMain(Main.java:369)
at org.jruby.Main.internalRun(Main.java:258)
at org.jruby.Main.run(Main.java:224)
at org.jruby.Main.run(Main.java:208)
at org.jruby.Main.main(Main.java:188)
/Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/psych-1.3.2/lib/psych.rb:99 warning: already initialized constant LIBYAML_VERSION
Failed to load /Users/dayas/.gemrc
ArgumentError: wrong number of arguments (2 for 1)
parse_stream at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/psych-1.3.2/lib/psych.rb:203
parse at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/psych-1.3.2/lib/psych.rb:151
load at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/psych-1.3.2/lib/psych.rb:127
load_file at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/psych-1.3.2/lib/psych.rb:297
open at org/jruby/RubyIO.java:1139
load_file at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/psych-1.3.2/lib/psych.rb:297
initialize at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/bundler-1.1.3/lib/bundler/settings.rb:6
settings at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/bundler-1.1.3/lib/bundler.rb:182
configure_gem_home_and_path at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/bundler-1.1.3/lib/bundler.rb:302
configure at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/bundler-1.1.3/lib/bundler.rb:81
definition at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/bundler-1.1.3/lib/bundler.rb:133
load at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/bundler-1.1.3/lib/bundler.rb:123
setup at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/bundler-1.1.3/lib/bundler.rb:107
(root) at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/bundler-1.1.3/lib/bundler/setup.rb:7
require at org/jruby/RubyKernel.java:1042
require at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/bundler-1.1.3/lib/bundler/setup.rb:59
(root) at /Users/dayas/.rbenv/versions/jruby-1.6.7/gemsets/padrino/gems/padrino-core-0.10.5/bin/padrino:3
load at org/jruby/RubyKernel.java:1068
(root) at /Users/dayas/.rbenv/versions/jruby-1.6.7/bin/padrino:19
ip-192-168-1-126: [master]! $

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.