From: Peter Bailey Date: 2013-02-07T01:26:34+09:00 Subject: Re: Ruby 1.9.3-p362 on Mac OSX Jon Cairns wrote in post #1095559: >> My path is: >> >> /Users/peterbailey/documents/scripts/ruby/local:/usr/local/ > bin:/usr/bin:/bin:/usr/sbin:/sbin:/users/peterbailey/ > documents/scripts/ruby/local:/opt/X11/bin:/usr/local/git/bin: > > Yeh, your ruby path hasn't been included in that. You want to be seeing > "/Users/peterbailey/.rvm/rubies/ruby-1.9.3-p362/bin" somewhere in there. > > Try sourcing ~/.rvm/environments/default - I've found that it's > sometimes > necessary (when it's a full moon, for instance): > > $ source "$HOME/.rvm/environments/default" > > Then check your $PATH again and see whether it's added your rubies bin > directory. OK. Did that. And, yes, now I see that Ruby directory in my path, first thing in fact. But, I'm still getting "env: ruby\r: No such file or directory" when I try to run a Ruby script, one with the shebang you told me of earlier. -- Posted via http://www.ruby-forum.com/.