From: Reimer Behrends Date: 2003-01-06T02:18:17+09:00 Subject: Re: bad interpreter Arnaudo Massimo (marnaudo@inwind.it) wrote: [...] > but if i type: > masarn1@gull:~$ ./test.rb > bash: ./test.rb: /usr/local/bin/ruby: bad interpreter: Permission denied Check the permissions on test.rb itself, not just the Ruby executable. Bash erroneously reports a bad interpreter error whenever the script itself is not executable. (There may be another reason, but this is the most common problem.) [...] Reimer Behrends