aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2011-10-02 11:51:22 -0700
committerAndre Arko <andre@arko.net>2011-10-02 11:51:22 -0700
commit6321da8d8f43f9471bf7bb4740b95efcd94daee5 (patch)
tree4c527fc3f1c6c56ec5bfa4f4b3674107c0b21022 /man
parent1f6c19d70875875f34c49a30b3efe78381aa6800 (diff)
downloadbundler-6321da8d8f43f9471bf7bb4740b95efcd94daee5.tar.gz
reword :require description
Diffstat (limited to 'man')
-rw-r--r--man/gemfile.5.ronn15
1 files changed, 6 insertions, 9 deletions
diff --git a/man/gemfile.5.ronn b/man/gemfile.5.ronn
index 04b3955d..1899f173 100644
--- a/man/gemfile.5.ronn
+++ b/man/gemfile.5.ronn
@@ -45,22 +45,19 @@ Each _gem_ `MAY` have one or more version specifiers.
### REQUIRE AS (:require)
-Each _gem_ `MAY` specify its main file, which should be used when autorequiring
-(`Bundler.require`).
+Each _gem_ `MAY` specify files that should be used when autorequiring via
+`Bundler.require`. You may pass an array with multiple files, or `false` to
+prevent any file from being autorequired.
gem "sqlite3-ruby", :require => "sqlite3"
+ gem "redis", :require => ["redis/connection/hiredis", "redis"]
+ gem "webmock", :require => false
-This defaults to the name of the gem itself. For instance, these are identical:
+The argument defaults to the name of the gem. For example, these are identical:
gem "nokogiri"
gem "nokogiri", :require => "nokogiri"
-Specify `:require => false` to prevent bundler from requiring the gem, but still
-install it and maintain dependencies. And `:require` also accepts an array for
-_gems_ with several files to require.
-
- gem "redis", :require => ["redis/connection/hiredis", "redis"]
-
### GROUPS (:group or :groups)
Each _gem_ `MAY` specify membership in one or more groups. Any _gem_ that does