you can start the script as a parameter to ruby:
bash-2.05a$ ruby texsync.rb --update --force --destination=/tmp/textest
or you add a line to texsync.rb (has to be the first line) to tell your unix which interpreter to run:
#!/usr/bin/ruby
then you can start it simply with:
bash-2.05a$ texsync.rb --update --force --destination=/tmp/textest
Hope this helps,
felix
Nigel King 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?
_______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context