aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2016-02-23 12:38:40 +0900
committerHomu <homu@barosl.com>2016-02-23 12:38:40 +0900
commit33f6afe55987787af530a630ba4430f61745047a (patch)
tree75a27328371b5532d121570ebbfb4b73941ada3b /lib/bundler
parentb20fbf81b3a576f308b34abfd3b26f8a9c099308 (diff)
parentc2723bc520d07d016e678680faa2a6318eff1bd1 (diff)
downloadbundler-33f6afe55987787af530a630ba4430f61745047a.tar.gz
Auto merge of #4315 - RochesterinNYC:support-frozen-flag-for-bundle-package, r=indirect
Add `--frozen` flag support for `bundle package` - Closes #3356
Diffstat (limited to 'lib/bundler')
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index a3ccd700..015892ea 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -273,6 +273,8 @@ module Bundler
method_option "path", :type => :string, :banner =>
"Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME). Bundler will remember this value for future installs on this machine"
method_option "quiet", :type => :boolean, :banner => "Only output warnings and errors."
+ method_option "frozen", :type => :boolean, :banner =>
+ "Do not allow the Gemfile.lock to be updated after this package operation's install"
long_desc <<-D
The package command will copy the .gem files for every gem in the bundle into the
directory ./vendor/cache. If you then check that directory into your source