From owner-freebsd-ruby@FreeBSD.ORG Thu Nov 15 22:54:21 2012 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13A9EECB for ; Thu, 15 Nov 2012 22:54:21 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 937308FC0C for ; Thu, 15 Nov 2012 22:54:20 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=zAOCUF 7MUgm4oTNFhsGZEF0vbFD7cJjza09HwzDDbPzNnDLPm46J7nMIJ4j/iWb1t1Vkz0 GoBq7Y7BMEJvtX/3TuVyXOjrsidiKi+cILJn+wfaPPg6FNp+P9+Hp8048anrgiox hP1Pdgr0AVOJ4a3piKpO48cykWaC+cWHHThbY= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=J5SziPkT3CRt tBOyP1g5Ibi0LR+AKtkCd81nZPRNyco=; b=f7bHuiIPYIWflVNExlGacB6/sdtg PQMvtSZczZ5KT0feOl0M9NZHeL3oQgs9V/2LFgyE2bpeXpyq4zbEEkrD3lQM4etC nCg3wcwW7Xl0tboq3liSiiE0OybVuPrpoN9Ile9XC2dI640mFbDt6CJVGotmKxR4 zE4dF4i2c+gq6xE= Received: (qmail 61604 invoked from network); 15 Nov 2012 16:54:19 -0600 Received: from unknown (HELO ?10.10.0.115?) (bryan@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 15 Nov 2012 16:54:19 -0600 Message-ID: <50A57292.5050005@shatow.net> Date: Thu, 15 Nov 2012 16:54:10 -0600 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Paul Schmehl Subject: Re: More problems than I care to think about References: <76BB3E3F07A4F68477B30C11@utd71538.campus.ad.utdallas.edu> In-Reply-To: <76BB3E3F07A4F68477B30C11@utd71538.campus.ad.utdallas.edu> X-Enigmail-Version: 1.4.5 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Ruby List X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2012 22:54:21 -0000 On 11/15/2012 1:03 PM, Paul Schmehl wrote: > I've been trying to port Snorby to FreeBSD. Emphasis on trying. I run > into problems at every turn, and some seem unresolvable. Snorby > requires ruby 1.9.2 or better. The default version on FreeBSD is 1.8. > Putting RUBY_DEFAULT_VER=1.9 in /etc/make.conf breaks some of the > rubygem ports that will only build on 1.8. > > sysutils/rubygem-bundler was giving me fits. I discovered that while > the port version is 1.1.5, the current version, which fixes the problems > I was having, is 1.2.2. I created a port update for that and was going > to submit it, but then I discovered devel/rubygem-eventmachine "blows > up" with a core dump if built with 1.9. > > This is beyond discouraging and has caused me to abandon the project > entirely. > > It seems that we need a massive effort to update ruby and rails and all > gems to the latest versions. Who is responsible for that? How can we > get that done? > I've had similar endeavors with the ruby ports. It's not that someone is dropping the ball necessarily. Gems really do not work well as ports, in their current form, due to their hard version dependencies. I've twice now tried adding ports and given up, as it would mean adding multiple new ports, copying some others for specific versions, and even specifically for 1.9. It's all more trouble than it is worth. Note that I've had similar experiences with Debian as well. On my production rails sites, I usually just give up and use gem/bundler directly. I can envision this being fixed by letting gem do its own thing, and registering those as packages, similar to bsdpan, but I don't think this idea is popular, and I myself do not have time to implement even a proof-of-concept. Bryan