On 28/06/13 14:39, Todd Sterben wrote:
> I added /env  (and should have known better) and still get the same
> errors
>
> #!/usr/bin/env ruby
>
> puts "Hello world!"
>
>
> ./test.rb: line 1: #!/usr/bin/env: No such file or directory
> ./test.rb: line 3: puts: command not found
>
Try this in your shell:

which env

If you get nothing, try this:

which ruby

If you get nothing, you are stuck (your $PATH is probably broken).

echo $PATH


Sam