Menu

#2 SecurityError: Insecure operation OSX 10.4 Ruby 1.8.6

open
nobody
None
5
2007-09-04
2007-09-04
No

Attempted to use rubywebdialogs demo code for calculator. Got:
SecurityError: Insecure operation - instance_eval

/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:906:in `instance_eval'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:906:in `render'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:905:in `each'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:905:in `render'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:1135:in `render'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:1266:in `initialize'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/thread.rb:41:in `wait'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:1190:in `initialize'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/net.rb:790:in `serve'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/net.rb:769:in `initialize'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/net.rb:769:in `new'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/net.rb:769:in `serve'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/net.rb:764:in `loop'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/net.rb:764:in `serve'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/net.rb:753:in `initialize'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/net.rb:753:in `new'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/net.rb:753:in `serve'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:1189:in `initialize'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:802:in `new'
/tmp/tar2rubyscript.d.446.1/rubywebdialogs/ev/rwd.rb:802:in `serve'
rwdcalc.rbw:19

using ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1]

Discussion


Log in to post a comment.