From: Stoyan Zhekov Date: 2003-01-10T08:55:51+09:00 Subject: Re: bad interpreter --=.jf,HUntgzeThTV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > masarn1@gull:~/Ruby$ ./test.rb 2> error.log > > masarn1@gull:~/Ruby$ cat error.log > > bash: ./test.rb: /usr/local/bin/ruby: bad interpreter: Permission denied > > masarn1@gull:~/Ruby$ Maybe ruby is not in /usr/local/bin. Or it is not in your PATH environment var, so #!/usr/bin/env ruby failed Thinks to check: $ whereis ruby - will give you full path to ruby $ ruby ./test.rb - is ruby in your PATH environment var Maybe correction of first line in the script will be needed: --- test.rb --- #!/put/here/the/right/path/ruby -- ________ Stoyan Zhekov ________ OpenPGP: gpg --keyserver pgp.mit.edu --recv-keys 3CA641A8 fpr: 2A61 58D0 A69C FF68 4785 A0A3 89DE AEC0 3CA6 41A8 ____________ Is there life after /sbin/halt -p? _____________ --=.jf,HUntgzeThTV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+HgwGid6uwDymQagRAuKzAJ9NzGeBEIzg0amCajJti1tCOzPVuwCeObO9 hwUzwH2I2JjwBGnBGAQXO94= =OMRU -----END PGP SIGNATURE----- --=.jf,HUntgzeThTV--