From c2723bc520d07d016e678680faa2a6318eff1bd1 Mon Sep 17 00:00:00 2001 From: James Wen Date: Sun, 21 Feb 2016 22:10:10 -0500 Subject: Add `--frozen` flag support for `bundle package` - Closes #3356 --- lib/bundler/cli.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/bundler') diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 1fed1b58..fa1485d4 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -272,6 +272,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 -- cgit v1.2.3