From lists at ruby-forum.com Wed Dec 3 09:31:00 2008 From: lists at ruby-forum.com (Jonathan Gnagy) Date: Wed, 3 Dec 2008 15:31:00 +0100 Subject: RedCloth 4.1.1 released In-Reply-To: References: <9037147B-C01A-4866-8714-97A194F9FC81@jasongarber.com> Message-ID: Here is some IRB from JRuby to help... >> require 'rubygems' => true >> require 'redcloth' => true >> red = RedCloth.new("* A List") => "* A List" >> out_meth = "to_html" => "to_html" >> if red.respond_to? out_meth >> ?> puts red.method( out_meth ).call >> end RedclothScanService$Base:71:in `LIST_CLOSE': java.lang.NoSuchMethodError: org.jruby.RubyArray.pop(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject; from RedclothScanService$Transformer:7963:in `transform' from RedclothScanService:8307:in `transform' from RedclothScanService:8317:in `transform2' from RedclothScanService:8331:in `to' from RedclothScanService$s_method_1_0$RUBYINVOKER$to:-1:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in `cacheAndCall' from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call' from org.jruby.ast.FCallOneArgNode:36:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall' from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call' from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call' from org.jruby.RubyMethod:106:in `call' from org.jruby.RubyMethod$i_method_multi$RUBYINVOKER$call:-1:in `call' from org.jruby.internal.runtime.methods.DynamicMethod:202:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in `cacheAndCall' from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call' from org.jruby.ast.CallNoArgNode:61:in `interpret' from org.jruby.ast.FCallOneArgNode:36:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.IfNode:108:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.RootNode:126:in `interpret' from org.jruby.evaluator.ASTInterpreter:123:in `evalWithBinding' from org.jruby.RubyKernel:862:in `eval' from org.jruby.RubyKernel$s_method_0_3$RUBYFRAMEDINVOKER$eval:-1:in `call' from org.jruby.internal.runtime.methods.DynamicMethod:135:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:289:in `call' from org.jruby.ast.FCallManyArgsNode:60:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall' from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call' from org.jruby.internal.runtime.methods.DefaultMethod:190:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:289:in `call' from org.jruby.ast.CallManyArgsNode:59:in `interpret' from org.jruby.ast.FCallOneArgNode:36:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall' from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call' from org.jruby.internal.runtime.methods.DefaultMethod:295:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:442:in `call' from org.jruby.ast.CallTwoArgNode:59:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.ast.RescueNode:222:in `executeBody' from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions' from org.jruby.ast.RescueNode:107:in `interpret' from org.jruby.ast.BeginNode:80:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' from org.jruby.runtime.InterpretedBlock:190:in `yield' from org.jruby.runtime.Block:110:in `yield' from org.jruby.ast.YieldNode:95:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.EnsureNode:93:in `interpret' from org.jruby.ast.BeginNode:80:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall' from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call' from org.jruby.internal.runtime.methods.DefaultMethod:274:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:422:in `callIter' from org.jruby.ast.FCallOneArgBlockNode:33:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' from org.jruby.runtime.InterpretedBlock:190:in `yield' from org.jruby.runtime.Block:110:in `yield' from org.jruby.ast.YieldNode:95:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.IfNode:108:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.ast.RescueNode:222:in `executeBody' from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions' from org.jruby.ast.RescueNode:107:in `interpret' from org.jruby.ast.BeginNode:80:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' from org.jruby.runtime.InterpretedBlock:153:in `yield' from org.jruby.runtime.Block:105:in `yield' from org.jruby.RubyKernel:1039:in `loop' from org.jruby.RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop:-1:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall' from org.jruby.runtime.CallSite$InlineCachingCallSite:374:in `callIter' from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' from org.jruby.runtime.InterpretedBlock:153:in `yield' from org.jruby.runtime.Block:105:in `yield' from org.jruby.RubyKernel:890:in `rbCatch' from org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch:-1:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:168:in `cacheAndCall' from org.jruby.runtime.CallSite$InlineCachingCallSite:425:in `callIter' from org.jruby.ast.FCallOneArgBlockNode:33:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall' from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call' from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall' from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call' from org.jruby.ast.CallNoArgBlockNode:63:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall' from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call' from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in `cacheAndCall' from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call' from org.jruby.ast.CallNoArgNode:61:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' from org.jruby.runtime.InterpretedBlock:153:in `yield' from org.jruby.runtime.Block:105:in `yield' from org.jruby.RubyKernel:890:in `rbCatch' from org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch:-1:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:168:in `cacheAndCall' from org.jruby.runtime.CallSite$InlineCachingCallSite:425:in `callIter' from org.jruby.ast.FCallOneArgBlockNode:33:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall' from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call' from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in `cacheAndCall' from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call' from C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_RC1.ruby2.jruby_minus_1_dot_1_dot_4.bin.jirb:19:in `__file__' from C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_RC1.ruby2.jruby_minus_1_dot_1_dot_4.bin.jirb:-1:in `__file__' from C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_RC1.ruby2.jruby_minus_1_dot_1_dot_4.bin.jirb:-1:in `load' from org.jruby.Ruby:544:in `runScript' from org.jruby.Ruby:457:in `runNormally' from org.jruby.Ruby:330:in `runFromMain' from org.jruby.Main:214:in `run' from org.jruby.Main:100:in `run' from org.jruby.Main:84:in `main' -- Posted via http://www.ruby-forum.com/. From jg at jasongarber.com Wed Dec 3 11:28:06 2008 From: jg at jasongarber.com (Jason Garber) Date: Wed, 3 Dec 2008 11:28:06 -0500 Subject: RedCloth 4.1.1 released In-Reply-To: References: <9037147B-C01A-4866-8714-97A194F9FC81@jasongarber.com> Message-ID: <4132F552-1EE2-45F7-8868-F6A67D08C201@jasongarber.com> I updated the ticket to say that JRuby 1.1.5 is required. I'll add it into the README as well. On Dec 3, 2008, at 9:31 AM, Jonathan Gnagy wrote: > Here is some IRB from JRuby to help... > >>> require 'rubygems' > => true >>> require 'redcloth' > => true >>> red = RedCloth.new("* A List") > => "* A List" >>> out_meth = "to_html" > => "to_html" >>> if red.respond_to? out_meth > >>> ?> puts red.method( out_meth ).call >>> end > RedclothScanService$Base:71:in `LIST_CLOSE': > java.lang.NoSuchMethodError: > org.jruby.RubyArray.pop(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/ > runtime/builtin/IRubyObject; > from RedclothScanService$Transformer:7963:in `transform' > from RedclothScanService:8307:in `transform' > from RedclothScanService:8317:in `transform2' > from RedclothScanService:8331:in `to' > from RedclothScanService$s_method_1_0$RUBYINVOKER$to:-1:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in > `cacheAndCall' > from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in > `call' > from org.jruby.ast.FCallOneArgNode:36:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.BlockNode:67:in `interpret' > from org.jruby.internal.runtime.methods.DefaultMethod:163:in > `interpretedCall' > from org.jruby.internal.runtime.methods.DefaultMethod:140:in > `call' > from org.jruby.internal.runtime.methods.DefaultMethod:232:in > `call' > from org.jruby.RubyMethod:106:in `call' > from org.jruby.RubyMethod$i_method_multi$RUBYINVOKER$call:-1:in > `call' > from org.jruby.internal.runtime.methods.DynamicMethod:202:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in > `cacheAndCall' > from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in > `call' > from org.jruby.ast.CallNoArgNode:61:in `interpret' > from org.jruby.ast.FCallOneArgNode:36:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.IfNode:108:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.RootNode:126:in `interpret' > from org.jruby.evaluator.ASTInterpreter:123:in > `evalWithBinding' > from org.jruby.RubyKernel:862:in `eval' > from > org.jruby.RubyKernel$s_method_0_3$RUBYFRAMEDINVOKER$eval:-1:in `call' > from org.jruby.internal.runtime.methods.DynamicMethod:135:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:289:in > `call' > from org.jruby.ast.FCallManyArgsNode:60:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.internal.runtime.methods.DefaultMethod:163:in > `interpretedCall' > from org.jruby.internal.runtime.methods.DefaultMethod:140:in > `call' > from org.jruby.internal.runtime.methods.DefaultMethod:190:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:289:in > `call' > from org.jruby.ast.CallManyArgsNode:59:in `interpret' > from org.jruby.ast.FCallOneArgNode:36:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.BlockNode:67:in `interpret' > from org.jruby.internal.runtime.methods.DefaultMethod:163:in > `interpretedCall' > from org.jruby.internal.runtime.methods.DefaultMethod:140:in > `call' > from org.jruby.internal.runtime.methods.DefaultMethod:295:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:442:in > `call' > from org.jruby.ast.CallTwoArgNode:59:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.BlockNode:67:in `interpret' > from org.jruby.ast.RescueNode:222:in `executeBody' > from org.jruby.ast.RescueNode:144:in > `interpretWithJavaExceptions' > from org.jruby.ast.RescueNode:107:in `interpret' > from org.jruby.ast.BeginNode:80:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.BlockNode:67:in `interpret' > from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' > from org.jruby.runtime.InterpretedBlock:190:in `yield' > from org.jruby.runtime.Block:110:in `yield' > from org.jruby.ast.YieldNode:95:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.EnsureNode:93:in `interpret' > from org.jruby.ast.BeginNode:80:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.BlockNode:67:in `interpret' > from org.jruby.internal.runtime.methods.DefaultMethod:163:in > `interpretedCall' > from org.jruby.internal.runtime.methods.DefaultMethod:140:in > `call' > from org.jruby.internal.runtime.methods.DefaultMethod:274:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:422:in > `callIter' > from org.jruby.ast.FCallOneArgBlockNode:33:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' > from org.jruby.runtime.InterpretedBlock:190:in `yield' > from org.jruby.runtime.Block:110:in `yield' > from org.jruby.ast.YieldNode:95:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.IfNode:108:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.BlockNode:67:in `interpret' > from org.jruby.ast.RescueNode:222:in `executeBody' > from org.jruby.ast.RescueNode:144:in > `interpretWithJavaExceptions' > from org.jruby.ast.RescueNode:107:in `interpret' > from org.jruby.ast.BeginNode:80:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' > from org.jruby.runtime.InterpretedBlock:153:in `yield' > from org.jruby.runtime.Block:105:in `yield' > from org.jruby.RubyKernel:1039:in `loop' > from > org.jruby.RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop:-1:in `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in > `cacheAndCall' > from org.jruby.runtime.CallSite$InlineCachingCallSite:374:in > `callIter' > from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' > from org.jruby.runtime.InterpretedBlock:153:in `yield' > from org.jruby.runtime.Block:105:in `yield' > from org.jruby.RubyKernel:890:in `rbCatch' > from > org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch:-1:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:168:in > `cacheAndCall' > from org.jruby.runtime.CallSite$InlineCachingCallSite:425:in > `callIter' > from org.jruby.ast.FCallOneArgBlockNode:33:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.BlockNode:67:in `interpret' > from org.jruby.internal.runtime.methods.DefaultMethod:163:in > `interpretedCall' > from org.jruby.internal.runtime.methods.DefaultMethod:140:in > `call' > from org.jruby.internal.runtime.methods.DefaultMethod:232:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in > `cacheAndCall' > from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in > `call' > from org.jruby.ast.CallNoArgBlockNode:63:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.BlockNode:67:in `interpret' > from org.jruby.internal.runtime.methods.DefaultMethod:163:in > `interpretedCall' > from org.jruby.internal.runtime.methods.DefaultMethod:140:in > `call' > from org.jruby.internal.runtime.methods.DefaultMethod:211:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in > `cacheAndCall' > from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in > `call' > from org.jruby.ast.CallNoArgNode:61:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody' > from org.jruby.runtime.InterpretedBlock:153:in `yield' > from org.jruby.runtime.Block:105:in `yield' > from org.jruby.RubyKernel:890:in `rbCatch' > from > org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch:-1:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:168:in > `cacheAndCall' > from org.jruby.runtime.CallSite$InlineCachingCallSite:425:in > `callIter' > from org.jruby.ast.FCallOneArgBlockNode:33:in `interpret' > from org.jruby.ast.NewlineNode:101:in `interpret' > from org.jruby.ast.BlockNode:67:in `interpret' > from org.jruby.internal.runtime.methods.DefaultMethod:163:in > `interpretedCall' > from org.jruby.internal.runtime.methods.DefaultMethod:140:in > `call' > from org.jruby.internal.runtime.methods.DefaultMethod:253:in > `call' > from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in > `cacheAndCall' > from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in > `call' > from > C_3a_ > .Program_20_Files > .NetBeans_20_6_dot_5_20_RC1.ruby2.jruby_minus_1_dot_1_dot_4.bin.jirb: > 19:in > `__file__' > from > C_3a_ > .Program_20_Files > .NetBeans_20_6_dot_5_20_RC1 > .ruby2.jruby_minus_1_dot_1_dot_4.bin.jirb:-1:in > `__file__' > from > C_3a_ > .Program_20_Files > .NetBeans_20_6_dot_5_20_RC1 > .ruby2.jruby_minus_1_dot_1_dot_4.bin.jirb:-1:in > `load' > from org.jruby.Ruby:544:in `runScript' > from org.jruby.Ruby:457:in `runNormally' > from org.jruby.Ruby:330:in `runFromMain' > from org.jruby.Main:214:in `run' > from org.jruby.Main:100:in `run' > from org.jruby.Main:84:in `main' > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at ruby-forum.com Wed Dec 3 12:24:19 2008 From: lists at ruby-forum.com (Jonathan Gnagy) Date: Wed, 3 Dec 2008 18:24:19 +0100 Subject: RedCloth 4.1.1 released In-Reply-To: <4132F552-1EE2-45F7-8868-F6A67D08C201@jasongarber.com> References: <9037147B-C01A-4866-8714-97A194F9FC81@jasongarber.com> <4132F552-1EE2-45F7-8868-F6A67D08C201@jasongarber.com> Message-ID: <207740d63a6094299ac5f18547d13d6d@ruby-forum.com> Jason Garber wrote: > I updated the ticket to say that JRuby 1.1.5 is required. I'll add it > into the README as well. That fixed it. I installed JRuby 1.1.5, upgraded to rails 2.2.2 and rubygems 1.3.1 and now the lists work! -- Posted via http://www.ruby-forum.com/.