Subject: [bug#41036] ruby: Add ruby-2.5 as an alias to ruby

From: Ryan Prior <[email-masked]>
Date: Sat, 02 May 2020 23:34:02 +0000

The current ruby in Guix is 2.5, this alias allows to explicitly depend on [email-masked].

From 1dc232f14c8743fa0bd253ca470ef5f16c6baa0c Mon Sep 17 00:00:00 2001
From: Ryan Prior <[email-masked]>
Date: Sat, 2 May 2020 18:18:00 -0500
Subject: [PATCH] gnu: Add ruby-2.5 as an alias to ruby.

---
 gnu/packages/ruby.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 67f344301c..f9e687e775 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -170,6 +170,8 @@ a focus on simplicity and productivity.")
     (native-inputs
      `(("autoconf" ,autoconf)))))
 
+(define-public ruby-2.5 ruby)
+
 (define-public ruby-2.4
   (package
     (inherit ruby)
-- 
2.17.1