Shaun,Just to be clear, the message about Data formatters is coming from gdb - it happens when you bork the callstack, ie this is the important message:warning: check_safe_call: could not restore current frameAlliOn 13 Oct, 2010,at 10:21 AM, Thibault Martin-Lagardette wrote:Hi!Could you maybe provide the said script so that we can try it by ourselves?Thank you!-- Thibault Martin-Lagardette
On Mon, Oct 11, 2010 at 19:16, Shaun August wrote:
Hi Everyone,
I am having a problem running a ruby script as a shell script
I am getting the same error when I call this script:
puts `sudo restart.rb`
or this:
puts `restart.rb`
The script runs perfectly when I use the macirb in terminal so I am a bit stumped.
Here is the error message:
Running
sharedlibrary apply-load-rules all
warning: check_safe_call: could not restore current frame
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Can't find dlopen function, so it is not possible to load shared libraries.)
(gdb) continue
Continuing.
shutdown: NOT super-user
Debugger stopped.
Program exited with status value:1.(gdb)
Thanks,
Shaun
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel