From: Jonathan Cairns Date: 2013-02-07T00:52:53+09:00 Subject: Re: Ruby 1.9.3-p362 on Mac OSX --047d7b6252368bad1a04d5105147 Content-Type: text/plain; charset=ISO-8859-1 On 6 February 2013 15:48, Peter Bailey wrote: > Thanks, Jon. > Well, here's what I have in my bash profile. I believe it was put in > there when I installed dvm > > if [[ -s $HOME/.rvm/scripts/rvm ]]; then > source $HOME/.rvm/scripts/rvm; > > Is that doing exactly the same thing that you had me do above? > > I just put "#!/usr/bin/env ruby" into one of my Ruby scripts now. I > tried to run it and it says: > > env: ruby\r: No such file or directory Strange. What does your $PATH environment variable contain? $ echo $PATH -- *Jon Cairns* * * e-mail: jon@joncairns.com website: http://joncairns.com twitter: @joonty --047d7b6252368bad1a04d5105147 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On 6 February 2013 15:48, Peter Bailey &= lt;lists@ruby-for= um.com> wrote:
Thanks, Jon.
Well, here's what I have in my bash profile. I believe it was put in there when I installed dvm

=A0 =A0 if [[ -s $HOME/.rvm/scripts/rvm ]]; then
=A0 =A0 =A0 source $HOME/.rvm/scripts/rvm;

Is that doing exactly the same thing that you had me do above?

I just put "#!/usr/bin/env ruby" =A0into one of my Ruby scripts n= ow. I
tried to run it and it says:

env: ruby\r: No such file or directory
=A0
Stra= nge. What does your $PATH environment variable contain?

=A0 =A0 $ echo $PATH
<= br>--
Jon Cairns

e-ma= il:=A0jon@joncairns.com
twitter= :=A0@joonty
--047d7b6252368bad1a04d5105147--