Hmmm…
irb(main):001:0> $SAFE=1
=> 1
irb(main):002:0> exit
SecurityError: Insecure operation - eval
from /usr/local/lib/ruby/1.8/irb/workspace.rb:81:in eval' from /usr/local/lib/ruby/1.8/irb/workspace.rb:81:in
evaluate’
from /usr/local/lib/ruby/1.8/irb/context.rb:197:in evaluate' from /usr/local/lib/ruby/1.8/irb.rb:148:in
eval_input’
from /usr/local/lib/ruby/1.8/irb.rb:146:in signal_status' from /usr/local/lib/ruby/1.8/irb.rb:146:in
eval_input’
from /usr/local/lib/ruby/1.8/irb.rb:144:in
each_top_level_statement' from /usr/local/lib/ruby/1.8/irb/ruby-lex.rb:219:in
loop’
from /usr/local/lib/ruby/1.8/irb/ruby-lex.rb:247:in
each_top_level_statement' from /usr/local/lib/ruby/1.8/irb/ruby-lex.rb:218:in
catch’
from /usr/local/lib/ruby/1.8/irb/ruby-lex.rb:218:in
each_top_level_statement' from /usr/local/lib/ruby/1.8/irb.rb:144:in
eval_input’
from /usr/local/lib/ruby/1.8/irb.rb:70:in start' from /usr/local/lib/ruby/1.8/irb.rb:69:in
catch’
from /usr/local/lib/ruby/1.8/irb.rb:69:in `start’
from /usr/local/bin/irb:13
Maybe IRB bug!!
irb(main):003:0>