From: rajib Date: 2006-07-15T16:25:09+09:00 Subject: Re: rubywebdialog Hayato Mikami wrote: > > Because "$SAFE = 2" in ev/rwd.rb:59. > > I wrote "$SAFE = 0" and could watch "Hello Warld!". > ======== Tahnks for your reply...Hayato I cahnged as suggested to ev/rwd.rb line 59 $SAFE = 0 but still got C:\Documents and Settings\ri004902>ruby C:\rubyexample\rubywebdialogs\rwdhellowo rld.rbw Starting the browser... C:/DOCUME~1/ri004902/LOCALS~1/Temp/tar2rubyscript.d.2656.1/tmp.ear2rubyscript.f. 11594.tar/ev/rwd.rb:1175:in `system': Insecure operation - system (SecurityError ) from C:/DOCUME~1/ri004902/LOCALS~1/Temp/tar2rubyscript.d.2656.1/tmp.ear2 rubyscript.f.11594.tar/ev/rwd.rb:1175:in `initialize' from C:/DOCUME~1/ri004902/LOCALS~1/Temp/tar2rubyscript.d.2656.1/tmp.ear2 rubyscript.f.11594.tar/ev/rwd.rb:1160:in `initialize' from C:/DOCUME~1/ri004902/LOCALS~1/Temp/tar2rubyscript.d.2656.1/tmp.ear2 rubyscript.f.11594.tar/ev/rwd.rb:802:in `serve' from C:/DOCUME~1/ri004902/LOCALS~1/Temp/tar2rubyscript.d.2656.1/tmp.ear2 rubyscript.f.11594.tar/init.rb:3 from C:/rubyexample/rubywebdialogs/rwdhelloworld.rbw:538 from C:/rubyexample/rubywebdialogs/rwdhelloworld.rbw:503:in `newlocation ' from C:/rubyexample/rubywebdialogs/rwdhelloworld.rbw:439:in `newlocation ' from C:/rubyexample/rubywebdialogs/rwdhelloworld.rbw:420:in `newlocation ' from C:/rubyexample/rubywebdialogs/rwdhelloworld.rbw:439:in `newlocation ' from C:/rubyexample/rubywebdialogs/rwdhelloworld.rbw:503:in `newlocation ' from C:/rubyexample/rubywebdialogs/rwdhelloworld.rbw:533 ============================= Did you do something else too... ============================= Erik ... really appreciate your efforts... I changed the RWDBROWSER envioronment variable to " Nothing" as seen below C:\Documents and Settings\ri004902>set R RUBYOPT=-rubygems RWDBROWSER=Nothing .... But the damn Insecure operation remains and I am unable to run the application.... Pl suggest Thanks