From: Rajinder Yadav Date: 2010-10-16T23:08:06+09:00 Subject: Re: Trying to compile ruby 1.9.2-head on ubuntu 10.10. Help? On 10-10-16 05:20 AM, egervari wrote: > I'm trying to compile ruby 1.9.2-head on ubuntu 10.10. I don't know > whether to post it here, or on ubuntu forums. I'll try here first. > > I'm following this guide here: > http://rohitarondekar.com/articles/installing-rails3-beta3-on-ubuntu-using-rvm > As Markus said you don't need to install RVM, unless you want to have different version of Ruby or Rails. I am on Kubunutu x64 just upgraded to 10.10 from 10.04, and I've built Ruby trunk from source without any issues. Always read the README =) after you checkout ruby core from svn, you will need to generate the configure file by running autoconf. Give that a go and then follow the steps from README. If you want to build ruby edge and install it in another location other than the default /usr/local/bin, you can configure like this ./configure --prefix=/var/local --exec-prefix=/var/local this will install ruby binary under /var/local/bin I do it this way so I can have ruby release as my main ruby for work, but ruby edge for playing around with. you will need to export /var/local/bin in your path, otherwise you will need to type the explicit path to ruby edge each time. at the term type: export PATH=/var/local/bin:$PATH path will be good for the session of the term, you will need to type this each time if you want to use ruby edge before, not ruby release if you have both installed note the altered search path will execute binaries from /var/local/bin before /usr/local/bin, make sure you don't have other binaries in there that might override system default binaries unless this is what you want i.e. ruby edge vs ruby release =) finally verify: $ ruby -v ruby 1.9.3dev (2010-10-16 trunk 29517) [x86_64-linux] $ which ruby /var/local/bin/ruby -- Kind Regards, Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely