Hans
ruby texsync.rb --update --tree=doc --force
--destination=/Users/Shared/Context/

Gets me the manuals

I think on UNIX the first line of the script should look like
#!/usr/bin/ruby

However I tried this and then
[Nigel-Kings-G4-Lap:~/bin] nigelk% texsync.rb
texsync.rb: Command not found.

I am not sure what is reporting this because texsync.rb is executeable and
is in the path and anyway I am in that directory.

Confused
-- 
Nigel

> From: Hans Hagen <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 23 Dec 2003 13:39:37 +0100
> To: [EMAIL PROTECTED]
> Subject: Re: [NTG-context] new manual
> 
> At 13:18 23/12/2003, you wrote:
>> Hans,
>> I have read this manual.
>> Downloaded texsync.rb and put it into my personal bin location.
>> I have ruby.
>> I have made texsync.rb executable chmod +x texsync.rb.
>> The commands still don't quite work as required - any hints.
>> 
>> Terminal listing
>> ----------------
>> [Nigel-Kings-G4-Lap:~/bin] nigelk% which ruby
>> /usr/bin/ruby
>> [Nigel-Kings-G4-Lap:~/bin] nigelk% ruby --version
>> ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0]
>> [Nigel-Kings-G4-Lap:~/bin] nigelk% texsync --update
>> texsync: Command not found.
>> [Nigel-Kings-G4-Lap:~/bin] nigelk% texsync.rb --update
>> Running /Users/nigelk/.cshrc
>> : Command not found.
>> require: Command not found.
>> : Command not found.
>> print: Command not found.
>> : Command not found.
>> directives: Command not found.
>> helpinfo: Command not found.
>> default: Too many arguments.
>> ----------------
>> So what am I doing wrong?
> 
> can you try
> 
>  ruby texsync.rb
> 
> Hans
> 
> _______________________________________________
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to