From owner-freebsd-ruby@FreeBSD.ORG Mon Sep 8 23:01:04 2014 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23F899D4; Mon, 8 Sep 2014 23:01:04 +0000 (UTC) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 756E3113; Mon, 8 Sep 2014 23:01:03 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id u10so1328313lbd.15 for ; Mon, 08 Sep 2014 16:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H/qA5Y5zdoSWLnfAeQG3IzCEtGaUWf+ITc4l4scG95A=; b=nX+e8WhAPk8qsCDdlf9Og0+OkDRvEFCOyGRwpJ/TPYJFOIZ4ASxMchbYUxNyivlvvn H/AeOxRAieVDKvqt3zkzTv7MApE7VwGloj4kknRVYlQofcauW7JRdumWNai2M/nucDzS /nG8r06J9aYHncsxZN/3JZ0IeByGwQIcrHH9sk7W1Ln0D/Se5Tn7Vl3YpGJALUPy3IS3 CettzWiOJ7cXs85mldDEKLkMnPKIsdkRf8rp4mf5vOfPN7/RjA9WEgfUIkXQGYSzzzt5 vZye4OrG21HR2JTc+bukx+RzfKwzrouHlM3qfsUKISmGgjPyLWeIubwII+RH4XfSleQE dKwg== MIME-Version: 1.0 X-Received: by 10.152.7.8 with SMTP id f8mr7220289laa.27.1410215474264; Mon, 08 Sep 2014 15:31:14 -0700 (PDT) Received: by 10.25.36.70 with HTTP; Mon, 8 Sep 2014 15:31:14 -0700 (PDT) In-Reply-To: <20140906193632.GC67217@mouf.net> References: <20140906193632.GC67217@mouf.net> Date: Mon, 8 Sep 2014 15:31:14 -0700 Message-ID: Subject: Re: Ruby 2.0 From: Patrick To: Steve Wills Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 23:01:04 -0000 On Sat, Sep 6, 2014 at 12:36 PM, Steve Wills wrote: > On Sat, Sep 06, 2014 at 10:04:18AM -0700, Patrick wrote: > > Are there any plans to make Ruby 2.0 (or even 2.1) the default Ruby > version > > for FreeBSD? Most every Ruby developer and company I know has moved past > > 1.9, and the 1.9 default in FreeBSD makes it impossible to use the > official > > pkg sources because any pkg upgrade action wants to replace ruby20 with > > ruby19. While it's probably best that each of us uses our own pkg > > repository built with something like Poudriere, it's definitely not very > > convenient given how much work is involved in setting everything up > that's > > needed to provided a pkg source. > > > > Going from 1.9 to 2.0 is a pretty painless update. > > Yes, it's something that I've been looking at. Exp-run build tests have > been > done several times and I've been using 2.0 as default for packages I build > for > myself for a while, so it's really all ready to go. > > There is one issue, which is the version of devel/ruby-gems. I've been > told by > ruby gems developers that using gem 1.8.x with ruby 2.0 isn't really > supported > or "sane", though I forget the details at this point. So I wanted to get > that > updated before switching the default. Maybe we should just do it without > that, > since I don't know of any specific issues or have details on potential > issues. > > Thoughts? > > Steve > There could be issues working with newer gems: https://github.com/rubygems/rubygems/issues/633 Though it's easy enough to update with `gem update --system`... Would holding it back just be a testing/effort issue, or are there compatibility issues with ruby 1.9? Patrick