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 1QD4KE-0001QO-Rt for garchives@archives.gentoo.org; Fri, 22 Apr 2011 00:34:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6424A1C011; Fri, 22 Apr 2011 00:33:01 +0000 (UTC) Received: from www01.badapple.net (www01.badapple.net [64.79.219.163]) by pigeon.gentoo.org (Postfix) with ESMTP id 3A47B1C011 for ; Fri, 22 Apr 2011 00:33:01 +0000 (UTC) Received: from [127.0.0.1] (173-8-169-73-SFBA.hfc.comcastbusiness.net [173.8.169.73]) (Authenticated sender: ramin@badapple.net) by www01.badapple.net (Postfix) with ESMTPSA id 67DC69FAFBEF for ; Thu, 21 Apr 2011 17:33:00 -0700 (PDT) Message-ID: <4DB0CCC1.7050905@badapple.net> Date: Thu, 21 Apr 2011 17:33:05 -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] installing ffi gem References: <20110421235713.GA18633@genestate.com> In-Reply-To: <20110421235713.GA18633@genestate.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: d1de5e5dbc2844da105827ba490211cc On 4/21/2011 4:57 PM, Matt Harrison wrote: > I've just tried setting up a new development machine and I'm stuck installing the ffi > gem for ruby. > > According to a bug I found (can't find it now I'm afraid) the gentoo devs do not > support installing gems via the gem command and directed the user to use the > dev-ruby/ffi package. Unfortnately, that package is absolutely ancient and unusable. > > Anyway, I've got the ffi library install from portage, but when I try to `gem install > ffi`, I get the output seen in the attachement. > > The same gem installs just fine on an ubuntu box, but...well it's ubuntu and I don't > want to use that (besides it's just a VM). > > I'd really like to get this fixed so I can get started on a new project. > > Grateful for any help > > Matt 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. https://rvm.beginrescueend.com/rvm/install/ It really is the simplest way to build a dev environment and maintain it for Ruby. kashani