Tue, 09 Aug 2005
Pork and Leek Saute with Oyster Sauce
[22:41] | [/life/cooking] | # (0) | TB| G
jla.linux.or.jp no update since sarge upgrade
Noticed that content update process of http://jla.linux.or.jp/ failed since the server was ugpraded to sarge.
It is because some ruby scripts used to update content didn't work correctly with sarge's ruby.
- required 'erb/compile', but it was disappeared. Use 'erb' instead.
- required 'erb/stringio', but it was also disappeared. Use 'stringio' instead. there are no alternatives of ERbStrIO.as_stdout.
compiler = ERB::Compiler.new(nil) compiler.put_cmd = 'print' : @r = [] eval(e, binding) r = @r.join : def print(*s) @r += s end - warnings against 'r.push(yield year)'. replace it as 'r.push(yield(year))'
![[ukai]](/images/ukai-hack.png)
