From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QD9dK-00088R-Ty for garchives@archives.gentoo.org; Fri, 22 Apr 2011 06:14:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33B021C015; Fri, 22 Apr 2011 06:12:47 +0000 (UTC) Received: from www01.badapple.net (www01.badapple.net [64.79.219.163]) by pigeon.gentoo.org (Postfix) with ESMTP id 0BB671C015 for ; Fri, 22 Apr 2011 06:12:46 +0000 (UTC) Received: from [127.0.0.1] (unknown [76.14.68.122]) (Authenticated sender: ramin@badapple.net) by www01.badapple.net (Postfix) with ESMTPSA id 0A35A9FAFBEF for ; Thu, 21 Apr 2011 23:12:45 -0700 (PDT) Message-ID: <4DB11C63.1090908@badapple.net> Date: Thu, 21 Apr 2011 23:12:51 -0700 From: kashani User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: installing ffi gem References: <20110421235713.GA18633@genestate.com> <4DB0CCC1.7050905@badapple.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: ddc1a53948e6a11eab959a985fd258b4 On 4/21/2011 9:54 PM, Hans de Graaff wrote: > On Thu, 21 Apr 2011 17:33:05 -0700, kashani wrote: > >> Install RVM, make it part of your shell, then install the ruby and gems >> of your choice. That way you leave the system Ruby alone and can develop >> with the versions you want. You can even do multiple versions of ruby >> and various gems for working on many different projects at once. > > Please note that Gentoo also supports multiple ruby implementations out > of the box (ruby 1.8, ruby enterprise edition, jruby currently stable, > ruby 1.9 unfortunately still masked, rubinius forthcoming). It's not about which ruby you're installing on the system, really anything other than 1.8.7 as system Ruby is a pain in the ass at this point. kashani@gentoo64 ~ $ rvm list rvm rubies rbx-head [ ] ree-1.8.7-2011.03 [ x86_64 ] ruby-1.9.2-p180 [ x86_64 ] => ruby-1.8.7-p334 [ x86_64 ] Using RVM I can have all version and implementations of Ruby and multiple gem sets per Ruby as well. That way I can work on ruby-1.8.7@rail2 app or switch to ruby-1.92@rails3 which keep the gems separate. Also I avoid breaking the system when doing wacky things in my dev environment. kashani