From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 447A4139083 for ; Sat, 2 Sep 2017 21:02:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29068E0E36; Sat, 2 Sep 2017 21:02:04 +0000 (UTC) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 986F5E0D6F for ; Sat, 2 Sep 2017 21:02:03 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id p17so3101181wmd.3 for ; Sat, 02 Sep 2017 14:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=qT4pizebljlv+U/tbRNg8old1OjiUFwEcipJw/PvbY8=; b=bPVNpdMecI7kuvm4TpLsqQPT0dpf41Rr/kp+CKJBpyLspyx856XJbHbrwxHJNAYS44 1n8carr8M9XJdtLBksqlUsXPF6UEr4+dpZSEMjZAYUJgTqEUGtjYFiHCR/A6hJptJblQ b7KR+ZsfPlMqmp0dIgS9tr4Vzm3psjuRyKootJbWBbWLSowNAa5MHsEe4sGvlg+denjw 8GP2NSGO3nsNyNxuiSI5k6+EWpWpHGR6hLslAAQ6PiDd2bfUOQ8Gx3ooPBRI3sqdmjTG FI3sDZUWlInpety//yKLlKC081+8ALb/SMZRQwpVpxgfM4yyyEzieh2EG6h3+LARnKyN jqJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qT4pizebljlv+U/tbRNg8old1OjiUFwEcipJw/PvbY8=; b=Y0fqUgf5xgeMLuG+Svpiw6lrGSVqXGtVHvjrIFK2LcCySsXG+GK8H540ZdmItXyorH FqYTR0CO5jFBHC+9JGfREW4CC8siKk3c1yrQKHr9oAnpy6uhQzMipLnNnvWOQ6OVQe0V ZWzgt5tXQHlAMkTBEi301hP9XUUy5pLZUf6zR6iuZHx5rbAgCmf5QqTxS8d+yuoGVc1c 1MLQoj5iwQSCtAqOVo7HeWs3Z/zh6O5DrLNgp+4ZbnGrK0kExzaW1irF+9oFaAPIYDAz XNHsaB6KZLsvYwBCs3LdJBB9CVBW/Gbv+SkmD5pUycDIgOOTRB6kIzmSShEWdh8pE76T /u0Q== X-Gm-Message-State: AHPjjUg6G8dsFhvCmCbUIrzQL/7mrtPmxLjrnA8O58FJGOxc7sbqul06 dKaZPvpf5ZsOiPdE X-Google-Smtp-Source: ADKCNb5CM5E7mRJVxRKbWtMjuFM5FwHj8EPkFd7q5ujZ2qAwegt5S44Sfg3UJ3QzkdK5fkpVEs+tOg== X-Received: by 10.28.28.84 with SMTP id c81mr1164937wmc.152.1504386122354; Sat, 02 Sep 2017 14:02:02 -0700 (PDT) Received: from [172.20.0.40] ([197.101.48.133]) by smtp.googlemail.com with ESMTPSA id m128sm1169068wmd.23.2017.09.02.14.02.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Sep 2017 14:02:01 -0700 (PDT) Subject: Re: [gentoo-user] Ruby - 3 versions - seriously???? To: gentoo-user@lists.gentoo.org References: <7b8d7e5b-51d5-2bc2-e1be-e4c9e5510bda@wht.com.au> From: Alan McKinnon Message-ID: <9dfc7db0-cf95-e420-5f1d-c664ab547f2f@gmail.com> Date: Sat, 2 Sep 2017 22:57:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 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 In-Reply-To: <7b8d7e5b-51d5-2bc2-e1be-e4c9e5510bda@wht.com.au> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Archives-Salt: 0b5db9cc-7e08-4add-9ab5-634b4c40203b X-Archives-Hash: 261a7268a3f720b91368e66935bd54d3 On 02/09/2017 15:33, Andrew Lowe wrote: > Hi all, > I'm in the process of doing a world update and due to a failed compile, > I have cause to look up through the list of stuff to compile/update. > Imagine my surprise when I saw there were three versions of Ruby wanting > to update: > > [ebuild U ] dev-lang/ruby-2.4.1-r4 [2.4.1-r3] > [ebuild U ] dev-lang/ruby-2.3.4-r4 [2.3.4-r3] > [ebuild U ] dev-lang/ruby-2.2.7-r4 [2.2.7-r3] > > Have I managed to stuff up something on my machine or is this really the > case, there has to be three versions? And to make matters worse, they > are not big version jumps, + 0.1 -> 2.2, 2.3 & 2.4. > > I would prefer to get rid of Ruby, but, if memory serves me correctly, > someone associated with the kernel decided it would be a good idea to > use yet another language for something, obviously Python wasn't good > enough.... > > Thoughts on the magically multiplying Rubies would be greatly appreciated, Welcome to the giant clusterfuck that is RubyWorld(tm). Just be thankful you don't have to support corporate internal code written in it. Or package gems. OK, so disclaimer up front. I detest Ruby. I hate it with a passion. You have to understand what Ruby is. It is not a language. It is 5 languages. Like python27 and python3 are really different languages with much in common. The difference is the python devs have solid reasons for doing python3 and the transition has been mostly smooth. Each new minor version of ruby is a whole new language and the devs are OK with large breaking changes between minor version numbers. So why 3 rubys? Because they are 3 languages and you have packages that for whatever reason are tied to different rubys. Just pretend to yourself that they aren't really ruby22, ruby23 and ruby24 - they are php, perl and python (or whatever 3 language names you like that help you get past the 3 rubys! thing). You probably need all 3. As housekeeping, you can put this in make.conf: RUBY_TARGETS="ruby22", and remove all ruby versions from world and let depclean, revdep-rebuild and emerge world take care of the details. -- Alan McKinnon alan.mckinnon@gmail.com