From: Mike Stok Date: 2013-06-23T00:27:19+09:00 Subject: Re: Getting Started With Development On 2013-06-22, at 11:13 AM, "Chamila W." wrote: > Carlo E. Prelz wrote in post #1112089: >> Subject: Re: Getting Started With Development >> Date: mer 12 giu 13 03:44:55 +0900 >> >> Quoting Chamila W. (lists@ruby-forum.com): >> >>> error saying "Executable host Ruby is required". >> Compilation of Ruby in the normal way requires a pre-existing ruby >> interpreter. Maybe there is a way to compile from scratch - I do not >> know. What I generally do on new machines (I use Debian) is first load >> Debian's package with >> > > This works for me in Ubuntu? It works fine. Do I have to follow same > steps in MAC? On a Mac there is a ruby installed by default, and then you can use something like rvm https://rvm.io or chruby https://github.com/postmodern/chruby (with ruby-install or ruby-build) to install and manage your own versions of ruby. > >> apt-get install ruby >> >> After compiling/installing (under /usr/local as default), you can do >> >> apt-get purge ruby >> >> and happily use your self-compiled interpreter plus utilities. >> >> Remember to install the dev package of libreadline if you want to have >> irb command history. Do that before running ./configure. >> >> Carlo > > -- > Posted via http://www.ruby-forum.com/. Hope this helps, Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply.