On 19 July 2010 16:38, Abder-Rahman Ali <li...@ruby-forum.com> wrote:

> I now added /usr/local/bin to my path as follows:
>
> export PATH=$PATH:/usr/local/bin
>
> http://www.how-to-linux.com/2010/04/how-to-add-usrlocalbin-to-your-path-on-centos/


Good job.


> But, when I run now: brew install git
>
> I get the following:
>
> -bash: /usr/local/bin/brew: /usr/bin/ruby: bad interpreter: No such file
> or directory
>

Wow!  That is weird.  Where is your Ruby?  On Mac OS X Ruby is available by
default at that location:

$ which ruby
/usr/bin/ruby

Try running which ruby in a Terminal.

Cheers,


Andy

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to