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 frame
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 <[email protected]> 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
