R
Robert Peirce
--Apple-Mail-8--791440180
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=ISO-8859-1;
format=flowed
Usually I can put
#! /usr/bin/env ruby
in the first line of a script and it works fine. However, this doesn't=20=
work:
#! /usr/bin/env ruby
class Hello
attr_reader :msg
def initialize
@msg =3D "Hello, World"
end
end
h =3D Hello.new
puts h.msg
$ hello
: No such file or directory
However,
ruby hello
works fine. What am I missing?
Bob Peirce Venetia, PA =20=
724-941-6883
(e-mail address removed) [HOME (Mac)]
(e-mail address removed) [OFFICE]
There is=A0 only one basic human=A0 right, the=A0 right to do as you =
damn well
please.=A0 And with it comes the only basic human duty, the duty to take
the consequences.=A0 -- P.J. O'Rourke
--Apple-Mail-8--791440180--
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=ISO-8859-1;
format=flowed
Usually I can put
#! /usr/bin/env ruby
in the first line of a script and it works fine. However, this doesn't=20=
work:
#! /usr/bin/env ruby
class Hello
attr_reader :msg
def initialize
@msg =3D "Hello, World"
end
end
h =3D Hello.new
puts h.msg
$ hello
: No such file or directory
However,
ruby hello
works fine. What am I missing?
Bob Peirce Venetia, PA =20=
724-941-6883
(e-mail address removed) [HOME (Mac)]
(e-mail address removed) [OFFICE]
There is=A0 only one basic human=A0 right, the=A0 right to do as you =
damn well
please.=A0 And with it comes the only basic human duty, the duty to take
the consequences.=A0 -- P.J. O'Rourke
--Apple-Mail-8--791440180--