Я новичок в сборщике и капистрано, и я пытаюсь использовать их вместе. Когда я пытаюсь развернуть, я получаю сообщение:
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 не такой, каким он ожидал. Любая помощь?
Спецификации :Ruby 1.9.3, Rails 3.2.3, Capistrano 2.12.0, Bundler 1.1.4, Windows 7, развертывание на машине Posix.
Изменить:Мой Gemfile включает в себя логические блоки, подобные следующим:
unless RbConfig::CONFIG['host_os'] === 'mingw32'
# gem 'a'...
end