Bundler: вы пытаетесь установить в режиме развертывания после изменения вашего Gemfile

Я довольно новичок в связке и capistrano, и я пытаюсь использовать их вместе. Когда я пытаюсь развернуть, я получаю сообщение:

You are trying to install in deployment mode after changing your Gemfile. Run `bundle install' elsewhere and add the updated Gemfile.lock to version control.

Я не знаю, как удовлетворить систему, которая жалуется, и я не понимаю, почему жалоба возникает, потому что я прочитал вдокумент:

If a Gemfile.lock does exist, and you have updated your Gemfile(5), bundler will use the dependencies in the Gemfile.lock for all gems that you did not update, but will re-resolve the dependencies of gems that you did update. You can find more information about this update process below under CONSERVATIVE UPDATING.

Я понимаю, что это означает, что Bundler может справиться с тем фактом, что мой Gemfile не соответствует ожиданиям. Любая помощь?

Specs: Ruby 1.9.3, Rails 3.2.3, Capistrano 2.12.0, Bundler 1.1.4, Windows 7, deploying to a Posix machine.

Edit: Мой Gemfile включает в себя логические блоки, такие как:

unless RbConfig::CONFIG['host_os'] === 'mingw32'
  # gem 'a' ...
end

Ответы на вопрос(17)

Ваш ответ на вопрос