[DRE-commits] [SCM] bundler.git branch, master, updated. upstream/1.1.0-16-gc44c43d

Christian Hofstaedtler christian at hofstaedtler.name
Mon Mar 12 23:23:05 UTC 2012


The following commit has been merged in the master branch:
commit d552fb63231f544583feab472e4a6ed3591f183e
Author: Christian Hofstaedtler <christian at hofstaedtler.name>
Date:   Tue Mar 13 00:19:51 2012 +0100

    Add a note about sudo
    
    Plus actually recommend sudo.

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..059796b
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,11 @@
+A note about sudo
+-----------------
+
+Please see the section SUDO USAGE in the bundle-install(1) man page about
+bundler's usage of sudo.
+The short version is this: if you always use "bundle install --path", sudo is
+not called. If you don't give "--path", bundler installs gems into the same
+location as "gem install", which is not writeable by normal users on Debian
+systems (and therefore sudo is called).
+
+ -- Christian Hofstaedtler <christian at hofstaedtler.name>  Tue, 13 Mar 2012 00:17:56 +0100
diff --git a/debian/control b/debian/control
index ecd7b4e..a6bfa9f 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ Package: bundler
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, rubygems
+Recommends: sudo
 Description: Manage Ruby application dependencies
  Bundler manages a Ruby application's dependencies through its entire
  life, across many machines, systematically and repeatably.

-- 
bundler.git



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