diff options
author | Homu <homu@barosl.com> | 2016-02-23 12:38:40 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2016-02-23 12:38:40 +0900 |
commit | 33f6afe55987787af530a630ba4430f61745047a (patch) | |
tree | 75a27328371b5532d121570ebbfb4b73941ada3b /lib/bundler | |
parent | b20fbf81b3a576f308b34abfd3b26f8a9c099308 (diff) | |
parent | c2723bc520d07d016e678680faa2a6318eff1bd1 (diff) | |
download | bundler-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.rb | 2 |
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 |