[MacRuby] #1252: ERB.new fails with LocalJumpError: no block given

MacRuby ruby-noreply at macosforge.org
Mon May 2 18:03:11 PDT 2011


#1252: ERB.new fails with LocalJumpError: no block given
-------------------------------------+--------------------------------------
 Reporter:  umairsiddique@…          |        Owner:  lsansonetti@…        
     Type:  defect                   |       Status:  closed               
 Priority:  blocker                  |    Milestone:  MacRuby 0.11         
Component:  MacRuby                  |   Resolution:  fixed                
 Keywords:                           |  
-------------------------------------+--------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Looks like the problem is fixed in master already.

 {{{
 $ ./miniruby -I./lib -r erb -e "p ERB.new('a', nil, '%')"
 #<ERB:0x4004c9580 @safe_level=nil @src="#coding:UTF-8\n_erbout = '';
 _erbout.concat \"a\"; _erbout.force_encoding(__ENCODING__)"
 @enc=#<Encoding:UTF-8> @filename=nil>
 }}}

 Please check out tonight's nightly build and let us know if you still see
 the problem.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1252#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list