From: Marius Bakke <mbakke@fastmail.com>
To: guix-devel@gnu.org
Subject: Ruby 2.4.0 update
Date: Sun, 25 Dec 2016 18:09:49 +0100 [thread overview]
Message-ID: <878tr4ndeq.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 617 bytes --]
In good tradition, ruby made a new release today (25/12)[0].
I tried building some packages with the new version, but ruby-minitest
complains that Rake 12 is too new (even with the latest minitest). There
have been some core changes as well, with Fixnum and Bignum now merged
into a single Integer class.
I suggest that we keep ruby 2.3 as the main "ruby" variable until the
ecosystem catches up. Users will still get the latest version when
using `guix package` or `guix environment`. WDYT?
Patch attached. Not sure about the commit message.
0: https://www.ruby-lang.org/en/news/2016/12/25/ruby-2-4-0-released/
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-ruby-Update-to-2.4.0.patch --]
[-- Type: text/x-patch, Size: 1216 bytes --]
From 6f029cbaedf273febef92e9c4197c55414b818d5 Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
Date: Sun, 25 Dec 2016 18:07:47 +0100
Subject: [PATCH] gnu: ruby: Update to 2.4.0.
* gnu/packages/ruby.scm (ruby-2.4): New variable.
---
gnu/packages/ruby.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c87f8b309..dee98c236 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -100,6 +100,20 @@ a focus on simplicity and productivity.")
(home-page "https://ruby-lang.org")
(license license:ruby)))
+(define-public ruby-2.4
+ (package (inherit ruby)
+ (replacement #f)
+ (version "2.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://cache.ruby-lang.org/pub/ruby/"
+ (version-major+minor version)
+ "/ruby-" version ".tar.xz"))
+ (sha256
+ (base32
+ "141nnsdk2q83c23p5kl404id8gy1ap261gin48rbjj5sbksgx1rs"))))))
+
(define-public ruby-2.2
(package (inherit ruby)
(replacement #f)
--
2.11.0
next reply other threads:[~2016-12-25 17:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-25 17:09 Marius Bakke [this message]
2016-12-26 13:18 ` Ruby 2.4.0 update Ben Woodcroft
2017-01-05 11:16 ` Ben Woodcroft
2017-01-05 13:20 ` Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878tr4ndeq.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).