[DRE-maint] Bug#861607: rbenv: use ruby-build, instead of ruby-install in manpages

Hideki Yamane henrich at debian.org
Mon May 1 12:30:15 UTC 2017


Package: rbenv
Version: 1.0.0-1
Severity: important
Tags: patch

Dear Maintainer,

 I've found rbenv manpage suggest to install ruby-install but it should be
 ruby-build. And also, Stretch's libssl-dev is provided by openssl1.1.0,
 ruby < 2.4.0 cannot be built with it, so example should be updated to 
 2.4.0, too. 

 Here's a patch, could you review and apply it, please?
-------------- next part --------------
>From 433191f420b9c2c348367fe5dcddded75f7fcc01 Mon Sep 17 00:00:00 2001
From: Hideki Yamane <henrich at debian.org>
Date: Mon, 1 May 2017 21:21:18 +0900
Subject: [PATCH] use ruby-build, instead of ruby-install

---
 debian/changelog | 12 ++++++++++++
 debian/control   |  1 +
 debian/rbenv.pod |  8 ++++----
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6f5b018..23fa396 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+rbenv (1.0.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * debian/rbenv.pod
+    - fix to note ruby-build, instead of ruby-install
+    - As example ruby version, I picked up 2.4.0 since older version have
+      build issue with newer openssl. 2.4.0 is best.
+  * debian/control
+    - add Recommends: ruby-build
+
+ -- Hideki Yamane <henrich at debian.org>  Mon, 01 May 2017 21:20:54 +0900
+
 rbenv (1.0.0-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index 81ca39e..e17cc44 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
          ${misc:Depends},
          ${shlibs:Depends}
+Recommends: ruby-build
 Description: simple per-user Ruby version manager
  rbenv lets you easily switch between multiple versions of Ruby. It's
  simple, unobtrusive, and follows the UNIX tradition of single-purpose
diff --git a/debian/rbenv.pod b/debian/rbenv.pod
index 87f598b..3d81d2f 100644
--- a/debian/rbenv.pod
+++ b/debian/rbenv.pod
@@ -10,16 +10,16 @@ Initialize rbenv for your acccount:
   $ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
   # restart your shell after this
 
-Install different Ruby interpreters (requires the I<ruby-install>
+Install different Ruby interpreters (requires the I<ruby-build>
 package):
 
-  $ rbenv install 1.9.2-p290
+  $ rbenv install 2.4.0
 
 Switch between different Ruby interpreters:
 
-  $ rbenv global 1.9.2-p290
+  $ rbenv global 2.4.0
   $ ruby -v
-  ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
+  ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
   $ rbenv global system
   $ ruby -v
   ruby [whatever version of Ruby Debian provides by default]
-- 
2.11.0



More information about the Pkg-ruby-extras-maintainers mailing list