[ruby-cvs:58876] Install Ruby on Mac OS X Yosemite

Phuong Phan p.h.phan2006 at gmail.com
Mon Aug 31 01:05:52 JST 2015


Hi Ruby programmers,

I am new to Ruby and I am learning programming with Python.

However, I also want to install Ruby and learn it too. I have install Ruby
and Ruby on Rails easily on Windows 7 PC but I have trouble with Mac OS X
Yosemite 10.10.5.

I tried to install Ruby using Homebrew and RVM and also from source, but
finally I am not sure i got it or not. What ever the command i typed in the
Terminal window, it always says Command not found even after installed
Homebrew and RVM.

Here is what appeared on the Terminal window.

Last login: Mon Aug 31 00:42:55 on ttys000

Hoangs-MacBook-Air:~ PhanHoangPhuong$ brew install ruby

-bash: brew: command not found

Hoangs-MacBook-Air:~ PhanHoangPhuong$ $PATH

-bash:
/Users/PhanHoangPhuong/Library/Enthought/Canopy_64bit/User/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/PhanHoangPhuong/.rvm/bin:
No such file or directory

Hoangs-MacBook-Air:~ PhanHoangPhuong$ brew list

-bash: brew: command not found

Hoangs-MacBook-Air:~ PhanHoangPhuong$

Could you please help me to install Ruby?
Thank you very much in advance.

Phan Hoang Phuong



>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ruby-lang.org/pipermail/ruby-cvs/attachments/20150831/3589e2b6/attachment.html>


More information about the ruby-cvs mailing list