From: Kendall Gifford Date: 2013-06-28T12:07:09+09:00 Subject: Re: #!/usr/bin/env: No such file or directory --047d7bdc152e978bdb04e02e2cbf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Jun 27, 2013 at 8:39 PM, 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: =EF=BB=BF#!/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) --=20 Kendall Gifford zettabyte@gmail.com --047d7bdc152e978bdb04e02e2cbf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Thu, Jun 27, 2013 at 8:39 PM, Todd Sterben <lists@r= uby-forum.com> wrote:
I added /env =C2=A0(and s= hould have known better) and still get the same
errors

#!/usr/bin/env ruby

puts "Hello world!"


./test.rb: line 1: =EF=BB=BF#!/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:<= br>
$ /usr/bin/env ruby
puts "Hello world"
^D

(where the ^D means type= CTRL-D)

--
Kendall Gifford
zettabyte@gmail.com
--047d7bdc152e978bdb04e02e2cbf--