Support
All support resources for our products. Here you can find answers to frequently asked questions, discuss with other users, recover a lost license code or file a support request.
Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

02.09.2011 11:56:02
Re: Re: Ruby script doesn't work like the others

This posting is older than 6 months and can contain outdated information.
On Fri, Sep 2, 2011 at 8:56 AM, Felix 
wrote:

3) In a shell, you can usually redirect any output from the script (this should include error messages) by appending a >/path/to/logfile (file will be overwritten on each run) or >>/path/to/logfile (file will be appended with each run). F.ex.

ls -al / >~/Desktop/out.txt

 
Thank you. This helped to solve the problem. There was no login shell 
(bash -i) to set up the ruby environment.

will put the output of "ls -al /" into out.txt on your desktop. This tech note by Apple suggests there are other ways to output the result, too:

http://developer.apple.com/library/mac/#technotes/tn2065/_index.html

Best regards, 
Felix Schwarz

 
[standard mail footer removed]

 
Thread-display::