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

Alli

On 13 Oct, 2010,at 10:21 AM, Thibault Martin-Lagardette <thibault...@gmail.com> 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 <sh...@eoslightmedia.com> 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
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to