[#32676] VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex — Phlip <phlip2005@...>
[I will try Bill Kelly's PDB path advice presently; this issue is more
5 messages
2010/10/03
[#32687] Re: VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex
— Roger Pack <rogerdpack2@...>
2010/10/04
> This one's about...
[#32703] Re: VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex
— Phlip <phlip2005@...>
2010/10/05
> > #<NoMethodError: undefined method `synchronize' for #<Mutex:0x750faa8>>
[#32698] [Ruby 1.9-Feature#3908][Open] private constant — Yusuke Endoh <redmine@...>
Feature #3908: private constant
10 messages
2010/10/05
[#32795] Call for Cooperation: CFUNC usage survey — SASADA Koichi <ko1@...>
Hi,
5 messages
2010/10/15
[#32814] WeakHash — Santiago Pastorino <santiago@...>
Hi guys,
6 messages
2010/10/15
[#32844] [Ruby 1.9-Feature#3963][Open] Map class in standard library — Thomas Sawyer <redmine@...>
Feature #3963: Map class in standard library
3 messages
2010/10/18
[#32864] [Ruby 1.9-Bug#3972][Open] r28668 breaks test/unit when combined with the testing rake task — Aaron Patterson <redmine@...>
Bug #3972: r28668 breaks test/unit when combined with the testing rake task
6 messages
2010/10/20
[#32932] Behavior of initialize in 1.9 — Aaron Patterson <aaron@...>
The behavior of initialize in 1.9 seems to have changed. Here is an irb
5 messages
2010/10/28
[#32960] [Ruby 1.9-Bug#4005][Open] YAML fails to roundtrip Time objects — Peter Weldon <redmine@...>
Bug #4005: YAML fails to roundtrip Time objects
6 messages
2010/10/29
[#32976] Improve MinGW builds for Ruby 1.8.7, 1.9.2 and 1.9.3 — Luis Lavena <luislavena@...>
Hello,
10 messages
2010/10/30
[#32978] Re: Improve MinGW builds for Ruby 1.8.7, 1.9.2 and 1.9.3
— Aaron Patterson <aaron@...>
2010/10/30
On Sun, Oct 31, 2010 at 03:42:02AM +0900, Luis Lavena wrote:
[ruby-core:32855] [Ruby 1.8-Bug#3969][Open] irb causes NameError when trapping SIGWINCH with string
From:
Sakuro OZAWA <redmine@...>
Date:
2010-10-20 01:54:38 UTC
List:
ruby-core #32855
Bug #3969: irb causes NameError when trapping SIGWINCH with string
http://redmine.ruby-lang.org/issues/show/3969
Author: Sakuro OZAWA
Status: Open, Priority: Normal
ruby -v: ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin9]
Trapping SIGWINCH with a proc works.
$ irb -f
irb(main):001:0> Signal.trap('SIGWINCH', proc { puts 'hola! from proc' })
=> nil
irb(main):002:0> hola! from proc # changing size of terminal window via GUI
irb(main):002:0> hola! from proc
irb(main):002:0> hola! from proc
irb(main):002:0> hola! from proc
puts
=> nil
irb(main):003:0>
But trapping SIGWINCH with a string (method name) causes error.
$ irb -f
irb(main):001:0> def hola; puts 'hola! from named method'; end
=> nil
irb(main):002:0> Signal.trap('SIGWINCH', 'hola')
=> nil
irb(main):003:0> hola! from named method # changing size of terminal window via GUI
irb(main):003:0> hola! from named method
irb(main):003:0> hola! from named method
irb(main):003:0> hola! from named method
puts
/opt/local/lib/ruby/1.8/irb/input-method.rb:98:in `gets': uninitialized constant HISTORY (NameError)
from /opt/local/lib/ruby/1.8/irb.rb:140:in `eval_input'
from /opt/local/lib/ruby/1.8/irb.rb:271:in `signal_status'
from /opt/local/lib/ruby/1.8/irb.rb:139:in `eval_input'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:189:in `call'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:189:in `buf_input'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:104:in `getc'
from /opt/local/lib/ruby/1.8/irb/slex.rb:206:in `match_io'
from /opt/local/lib/ruby/1.8/irb/slex.rb:76:in `match'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:287:in `token'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:263:in `lex'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:234:in `each_top_level_statement'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:230:in `loop'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:230:in `each_top_level_statement'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:229:in `catch'
from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:229:in `each_top_level_statement'
from /opt/local/lib/ruby/1.8/irb.rb:154:in `eval_input'
from /opt/local/lib/ruby/1.8/irb.rb:71:in `start'
from /opt/local/lib/ruby/1.8/irb.rb:70:in `catch'
from /opt/local/lib/ruby/1.8/irb.rb:70:in `start'
from /opt/local/bin/irb:13
----------------------------------------
http://redmine.ruby-lang.org