On Thu, Jun 27, 2013 at 8:39 PM, Todd Sterben <lists / ruby-forum.com> 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
>


What's the output of:

$ ls -la /usr/bin/env

What happens if you try the by-hand experiment I mentioned in my last
message:

$ /usr/bin/env ruby
puts "Hello world"
^D

(where the ^D means type CTRL-D)

-- 
Kendall Gifford
zettabyte / gmail.com