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

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


Here is what i got after downloaded Ruby 2.2.3 version, unpacked it, then
followed instruction to install Ruby from source.

Last login: Mon Aug 31 00:50:46 on ttys000

Hoangs-MacBook-Air:~ PhanHoangPhuong$ ./configure

-bash: ./configure: No such file or directory

Hoangs-MacBook-Air:~ PhanHoangPhuong$ make

make: *** No targets specified and no makefile found.  Stop.

Hoangs-MacBook-Air:~ PhanHoangPhuong$ sudo make install


We trust you have received the usual lecture from the local System

Administrator. It usually boils down to these three things:


    #1) Respect the privacy of others.

    #2) Think before you type.

    #3) With great power comes great responsibility.


Password:


I tried all ways but not work at all.

Appreciate your help to install Ruby.


Thank you very much.

Phan Hoang Phuong



On Mon, Aug 31, 2015 at 1:05 AM, Phuong Phan <p.h.phan2006 at gmail.com> wrote:

> 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/19278352/attachment.html>


More information about the ruby-cvs mailing list