summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Arko <mail@arko.net>2015-11-17 07:58:51 -0800
committerAndré Arko <mail@arko.net>2015-11-17 07:58:51 -0800
commitad922ae3c3f35fdd838b3f61718f994c9d1a110e (patch)
treebd5d76344b5901d615557c6e920d8bba1eddd25c
parentf787c664b4645fb44066b140b3b9afee542590c9 (diff)
parent55119260bbf7743a4b72540b6a8cd4b3e5060855 (diff)
downloadbundler-ad922ae3c3f35fdd838b3f61718f994c9d1a110e.tar.gz
Merge pull request #4108 from JuanitoFatas/doc/man-bundle-lock
Add a basic bundle lock manual [ci skip]
-rw-r--r--man/bundle-lock.ronn30
1 files changed, 30 insertions, 0 deletions
diff --git a/man/bundle-lock.ronn b/man/bundle-lock.ronn
new file mode 100644
index 0000000000..467d484211
--- /dev/null
+++ b/man/bundle-lock.ronn
@@ -0,0 +1,30 @@
+bundle-lock(1) -- Creates / Updates a lockfile without installing
+=================================================================
+
+## SYNOPSIS
+
+`bundle lock` [--update]
+ [--local]
+ [--print]
+ [--lockfile=PATH]
+
+## DESCRIPTION
+
+Lock the gems specified in Gemfile.
+
+## OPTIONS
+
+* `--update`:
+ Ignores the existing lockfile. Resolve then updates lockfile.
+
+* `--local`:
+ Do not attempt to connect to `rubygems.org`. Instead, Bundler will use the
+ gems already present in Rubygems' cache or in `vendor/cache`. Note that if a
+ appropriate platform-specific gem exists on `rubygems.org` it will not be
+ found.
+
+* `--print`:
+ Prints the lockfile to STDOUT instead of writing to the file system.
+
+* `--lockfile=<path>`:
+ The path where the lockfile should be written to.