--QKd_W6q,sDOf_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> > > > bash: ./test.rb: /usr/local/bin/ruby: bad interpreter: Permission denied

Other two questions:
1. What are the permitions on test.tb? 755 (do you have +x for the current user)
2. What are the permitions of current partition? - see if you have in /etc/fstab
   something like: ..............  ,noexec for the partition with test.rb

--QKd_W6q,sDOf_
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+I1Teid6uwDymQagRAo2FAJ9Ssir12ECodIbnBxiRVHJnSMEpiwCgsJ/5
P6VEm0ZSSvJmTTqGjeKryk0L
-----END PGP SIGNATURE-----

--QKd_W6q,sDOf_--