diff options
author | Andre Arko <andre@arko.net> | 2011-04-06 00:12:46 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2011-04-06 00:12:46 -0700 |
commit | c749752bcd3169fe46890f9cdc4d0aa616ecd63c (patch) | |
tree | aaca00a2870359254656cddecb62d239b2834b48 /lib/bundler/installer.rb | |
parent | 028a2779bb0db315183253221a5959f64d0d939a (diff) | |
download | bundler-c749752bcd3169fe46890f9cdc4d0aa616ecd63c.tar.gz |
add a message explaining how to disable deployment if it's not passed
since deployment scripts will always pass the flag, anyone who gets a stale lock error without passing in --deployment is likely to be a developer who turned on deployment mode by mistake.
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index c1fbada82d..b7c0bf9be3 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -11,7 +11,7 @@ module Bundler def run(options) if Bundler.settings[:frozen] - @definition.ensure_equivalent_gemfile_and_lockfile + @definition.ensure_equivalent_gemfile_and_lockfile(options[:deployment]) end if dependencies.empty? |