[DRE-commits] [SCM] rubygems.git branch, master, updated. debian/1.7.2-1-11-g7c5cb0a

Daigo Moriwaki daigo at debian.org
Fri Apr 29 14:25:47 UTC 2011


The following commit has been merged in the master branch:
commit 2c5ea72155ecb55e13952f519f62798917b3c805
Author: Daigo Moriwaki <daigo at debian.org>
Date:   Fri Apr 29 23:22:24 2011 +0900

    Notify that executables are now installed into /usr/local/bin

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..4ebea9e
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,29 @@
+Notes for rubygems (for Ruby 1.8) in Debian
+===========================================
+
+Since some patches are applied to fit Debian FHS, Debian's RubyGems behaves
+a bit differently than the original.
+
+* Directory where gems are to be installed
+
+/var/lib/gems is default in Debian instead of /usr/lib/gems. You can
+override it by defining GEM_HOME environment variable. 
+
+* Executables provided by gems
+
+Executables installed by gems will be located at /usr/local/bin, which is
+likely listed in users' PATH environment variable, get available without
+users' intervention. This location was decided by requests from many users[1].
+
+Note that this package does not care about any exisitng files in
+/usr/local/bin, which might be overwritten by gems. System administrators or
+users should be aware of what they try to install and look after possible
+conflicts.
+
+
+[1]
+- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448639
+- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403407
+
+
+ -- Daigo Moriwaki <daigo at debian.org>  Fri, Apr 29 2011
diff --git a/debian/rubygems.NEWS b/debian/rubygems.NEWS
new file mode 100644
index 0000000..603f941
--- /dev/null
+++ b/debian/rubygems.NEWS
@@ -0,0 +1,12 @@
+rubygems (1.7.2-1) unstable; urgency=low
+
+  * executables are now installed to /usr/local/bin, instread of
+    /var/lib/gems/1.8/bin
+  * but the other files created by rubygems stay in /var/lib/gems/1.8.
+    Several commenters in #448639 and #403407 argued in favor of the switch to
+    /usr/local/bin. Those two bugs can therefore be closed. However, the issue
+    is not completely solved, as rubygems still installs files in /var/lib/gems.
+    Nobody in the bug logs explained why that was an issue. If you care about
+    it, please open a new bug. Closes: #448639, #403407
+
+ -- Daigo Moriwaki <daigo at debian.org>  Fri, 29 Apr 2011 19:07:08 +0900

-- 
rubygems.git



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