/usr/share/doc/ruby-bundler/README.Debian is in ruby-bundler 1.13.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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 writable by normal users on Debian
systems (and therefore sudo is called).
-- Christian Hofstaedtler <christian@hofstaedtler.name> Tue, 13 Mar 2012 00:17:56 +0100
About /var/lib/gems
-------------------
Bundler needs /var/lib/gems/$RUBY_VERSION (really: Gem.path) to exist, even if
it runs as non-root. To avoid this bootstrapping issue, this package creates
empty directories for the current Ruby interpreter versions.
-- Christian Hofstaedtler <christian@hofstaedtler.name> Tue, 05 Jun 2012 00:13:35 +0200
|