summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanitoFatas <katehuang0320@gmail.com>2015-11-13 14:55:55 +0800
committerJuanitoFatas <katehuang0320@gmail.com>2015-11-13 14:55:55 +0800
commit55119260bbf7743a4b72540b6a8cd4b3e5060855 (patch)
treebd5d76344b5901d615557c6e920d8bba1eddd25c
parentf787c664b4645fb44066b140b3b9afee542590c9 (diff)
downloadbundler-55119260bbf7743a4b72540b6a8cd4b3e5060855.tar.gz
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.