From: Luis Lavena Date: 2013-02-23T22:16:33+09:00 Subject: [ruby-core:52738] Re: What's the *right* way to build Ruby from source on a Linux system that doesn't yet have Ruby? On Sat, Feb 23, 2013 at 9:38 AM, Paul Sherwood wrote: > We'd like to add Ruby support in a clean Linux environment which has > GCC, autotools etc. > > It seems the default configuration assumes Ruby already exists, ie you > need Ruby to build Ruby. I've seen some comments about needing to build > 1.8.* first, then 1.9, but that seems strange. > > Please could someone recommend how to do this cleanly with minimum > deviation from ruby mainline? > To build without a base ruby, you need to use either the nightly snapshots or the released .tar.gz packages (at this time rc1 and rc2 for 2.0), those packages do not require a previous Ruby to be installed. I haven't done this in years, but should be accurate. If not, that might indicate a bug in the packaging process. Hope that helps. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup�ry